OpenLB 1.7
|
Naive way. More...
#include <twoWayHelperFunctionals.h>
Public Member Functions | |
NaiveMomentumExchange (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > interpLatticeDensity) | |
Constructor. | |
virtual bool | operator() (T gF[], T latticeVelF[], T latticeVelP[], T physPosP[], int latticeRoundedP[], int globic) override |
Computes the momentum transfer from fluid to particle. | |
Public Member Functions inherited from olb::TwoWayHelperFunctional< T, Lattice > | |
virtual | ~TwoWayHelperFunctional () |
Additional Inherited Members | |
Protected Member Functions inherited from olb::TwoWayHelperFunctional< T, Lattice > | |
TwoWayHelperFunctional (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice) | |
Constructor. | |
Protected Attributes inherited from olb::TwoWayHelperFunctional< T, Lattice > | |
UnitConverter< T, Lattice > & | _converter |
SuperLattice< T, Lattice > & | _sLattice |
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > | _interpLatticeDensity |
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > | _interpLatticeVelocity |
Naive way.
Definition at line 61 of file twoWayHelperFunctionals.h.
olb::NaiveMomentumExchange< T, Lattice >::NaiveMomentumExchange | ( | UnitConverter< T, Lattice > & | converter, |
SuperLattice< T, Lattice > & | sLattice, | ||
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > | interpLatticeDensity ) |
Constructor.
Definition at line 54 of file twoWayHelperFunctionals.hh.
References olb::TwoWayHelperFunctional< T, Lattice >::_interpLatticeDensity.
|
overridevirtual |
Computes the momentum transfer from fluid to particle.
Implements olb::TwoWayHelperFunctional< T, Lattice >.
Definition at line 64 of file twoWayHelperFunctionals.hh.
References olb::util::pow(), and olb::util::sqrt().