OpenLB 1.7
|
Using Ladd mechanism. More...
#include <twoWayHelperFunctionals.h>
Public Member Functions | |
LaddMomentumExchange (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > interpLatticeDensity, std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > interpLatticeVelocity) | |
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 |
Using Ladd mechanism.
Definition at line 76 of file twoWayHelperFunctionals.h.
olb::LaddMomentumExchange< T, Lattice >::LaddMomentumExchange | ( | UnitConverter< T, Lattice > & | converter, |
SuperLattice< T, Lattice > & | sLattice, | ||
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > | interpLatticeDensity, | ||
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > | interpLatticeVelocity ) |
Constructor.
Definition at line 89 of file twoWayHelperFunctionals.hh.
References olb::TwoWayHelperFunctional< T, Lattice >::_interpLatticeDensity, and olb::TwoWayHelperFunctional< T, Lattice >::_interpLatticeVelocity.
|
overridevirtual |
Computes the momentum transfer from fluid to particle.
Implements olb::TwoWayHelperFunctional< T, Lattice >.
Definition at line 101 of file twoWayHelperFunctionals.hh.
References olb::util::fabs().