Reply To: Periodic boundary
This is a functor arithmetic expression for substracting 1 from the result of calling
functor_dsl::lift is a helper for wrapping a reference in a
std::shared_ptr for which functor arithmetic is implemented. This is just used here for brevity, one could also construct the density functor inside a shared pointer directly.