Reply To: Periodic boundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Periodic boundary › Reply To: Periodic boundary
June 4, 2021 at 4:28 pm
#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.