Skip to content

Reply To: Periodic boundary

#5705
Adrian
Keymaster

This is a functor arithmetic expression for substracting 1 from the result of calling densityF. 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.