28#ifndef LB_TWO_WAY_HELPER_FUNCTIONALS_H
29#define LB_TWO_WAY_HELPER_FUNCTIONALS_H
40template<
typename T,
typename Lattice>
44 virtual bool operator() ( T gF[], T latticeVelF[], T latticeVelP[],
45 T physPosP[],
int latticeRoundedP[],
60template<
typename T,
typename Lattice>
68 virtual bool operator() ( T gF[], T latticeVelF[], T latticeVelP[],
69 T physPosP[],
int latticeRoundedP[],
70 int globic )
override;
75template<
typename T,
typename Lattice>
84 virtual bool operator() ( T gF[], T latticeVelF[], T latticeVelP[],
85 T physPosP[],
int latticeRoundedP[],
86 int globic )
override;
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.
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.
Super class maintaining block lattices for a cuboid decomposition.
Abstact class for all the local forward-coupling models, viz., momentum coupling from fluid to partic...
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > _interpLatticeDensity
virtual bool operator()(T gF[], T latticeVelF[], T latticeVelP[], T physPosP[], int latticeRoundedP[], int globic)=0
Computes the momentum transfer from fluid to particle.
SuperLattice< T, Lattice > & _sLattice
virtual ~TwoWayHelperFunctional()
TwoWayHelperFunctional(UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice)
Constructor.
UnitConverter< T, Lattice > & _converter
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > _interpLatticeVelocity
Conversion between physical and lattice units, as well as discretization.
Top level namespace for all of OpenLB.