OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::BaseLocalBackCouplingModel< T, Lattice, Particle > Class Template Reference

Abstact class for all the local back-coupling models. More...

#include <backCouplingModels.h>

+ Inheritance diagram for olb::BaseLocalBackCouplingModel< T, Lattice, Particle >:
+ Collaboration diagram for olb::BaseLocalBackCouplingModel< T, Lattice, Particle >:

Public Member Functions

virtual void communicate () override
 Communicates POPULATION and FORCE fields if the model is non-local.
 
 BaseLocalBackCouplingModel (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.
 
- Public Member Functions inherited from olb::BackCouplingModel< T, Particle >
virtual bool operator() (Particle< T > *p, int globic, int material, int subCycles=1)=0
 Class operator to apply the coupling, for overload.
 

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.
 
- 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
 

Detailed Description

template<typename T, typename Lattice, template< typename V > class Particle>
class olb::BaseLocalBackCouplingModel< T, Lattice, Particle >

Abstact class for all the local back-coupling models.

Input parameters in attice units.

Definition at line 79 of file backCouplingModels.h.

Constructor & Destructor Documentation

◆ BaseLocalBackCouplingModel()

template<typename T , typename Lattice , template< typename V > class Particle>
olb::BaseLocalBackCouplingModel< T, Lattice, Particle >::BaseLocalBackCouplingModel ( UnitConverter< T, Lattice > & converter,
SuperLattice< T, Lattice > & sLattice,
SuperGeometry< T, 3 > & sGeometry,
int overlap )

Constructor.

Definition at line 69 of file backCouplingModels.hh.

74 : BaseBackCouplingModel<T,Lattice,Particle>(converter, sLattice, sGeometry, overlap)
75{}

Member Function Documentation

◆ communicate()

template<typename T , typename Lattice , template< typename V > class Particle>
void olb::BaseLocalBackCouplingModel< T, Lattice, Particle >::communicate ( )
overridevirtual

Communicates POPULATION and FORCE fields if the model is non-local.

Implements olb::BackCouplingModel< T, Particle >.

Definition at line 78 of file backCouplingModels.hh.

79{
80 this->_commPopulation.communicate();
81}
SuperCommunicator< T, SuperLattice< T, Lattice > > _commPopulation

References olb::BackCouplingModel< T, Particle >::communicate().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: