Skip to content

Reply To: Periodic boundary

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Periodic boundary 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.