OpenLB 1.7
|
Class for a generic non-local back-coupling model (but this is NOT VIRTUAL!), viz., momentum coupling from particle to fluid, for model more complicated that CubicDeltaBackCouplingModel. More...
#include <backCouplingModels.h>
Public Member Functions | |
NonLocalBaseBackCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< SmoothingFunctional< T, Lattice > > smoothingFunctional, int overlap) | |
Constructor. | |
virtual bool | operator() (Particle< T > *p, int globic, int material, int subCycles=1) override |
Class operator to apply the coupling. | |
Public Member Functions inherited from olb::BaseNonLocalBackCouplingModel< T, Lattice, Particle > | |
virtual void | communicate () override |
Communicates POPULATION and FORCE fields if the model is non-local. | |
BaseNonLocalBackCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, int overlap) | |
Constructor. | |
Public Member Functions inherited from olb::BaseBackCouplingModel< T, Lattice, Particle > | |
virtual void | resetExternalField (int material) override |
Resets external field. | |
Protected Attributes | |
std::shared_ptr< SmoothingFunctional< T, Lattice > > | _smoothingFunctional |
Protected Attributes inherited from olb::BaseBackCouplingModel< T, Lattice, Particle > | |
UnitConverter< T, Lattice > & | _converter |
SuperGeometry< T, 3 > & | _sGeometry |
SuperLattice< T, Lattice > & | _sLattice |
SuperCommunicator< T, SuperLattice< T, Lattice > > | _commPopulation |
Additional Inherited Members | |
Protected Member Functions inherited from olb::BaseBackCouplingModel< T, Lattice, Particle > | |
BaseBackCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, int overlap) | |
Constructor. | |
Class for a generic non-local back-coupling model (but this is NOT VIRTUAL!), viz., momentum coupling from particle to fluid, for model more complicated that CubicDeltaBackCouplingModel.
It reproduces the characteristics (viz., smoothing) of an input forward coupling model. Input parameters in attice units.
Definition at line 148 of file backCouplingModels.h.
olb::NonLocalBaseBackCouplingModel< T, Lattice, Particle >::NonLocalBaseBackCouplingModel | ( | UnitConverter< T, Lattice > & | converter, |
SuperLattice< T, Lattice > & | sLattice, | ||
SuperGeometry< T, 3 > & | sGeometry, | ||
std::shared_ptr< SmoothingFunctional< T, Lattice > > | smoothingFunctional, | ||
int | overlap ) |
Constructor.
Definition at line 230 of file backCouplingModels.hh.
|
overridevirtual |
Class operator to apply the coupling.
Implements olb::BackCouplingModel< T, Particle >.
Definition at line 241 of file backCouplingModels.hh.
References olb::Vector< T, D >::getBlock().
|
protected |
Definition at line 159 of file backCouplingModels.h.