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

Abstact base class for all the local/non-local forward-coupling models. More...

#include <forwardCouplingModels3D.h>

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

Protected Member Functions

 BaseForwardCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel)
 Constructor.
 
- Protected Member Functions inherited from olb::ForwardCouplingModel< T, Particle >
 ForwardCouplingModel (SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel)
 Constructor.
 

Protected Attributes

UnitConverter< T, Lattice > & _converter
 
SuperLattice< T, Lattice > & _sLattice
 
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > _interpLatticeDensity
 
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > _interpLatticeVelocity
 
std::shared_ptr< TwoWayHelperFunctional< T, Lattice > > _momentumExchange
 
- Protected Attributes inherited from olb::ForwardCouplingModel< T, Particle >
SuperGeometry< T, 3 > & _sGeometry
 
std::shared_ptr< DragModel< T, Particle > > _dragModel
 

Additional Inherited Members

- Public Member Functions inherited from olb::ForwardCouplingModel< T, Particle >
virtual bool operator() (Particle< T > *p, int globic)=0
 Class operator to apply the coupling, for overload.
 

Detailed Description

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

Abstact base class for all the local/non-local forward-coupling models.

Adding the templatization in Lattice.

Definition at line 56 of file forwardCouplingModels3D.h.

Constructor & Destructor Documentation

◆ BaseForwardCouplingModel()

template<typename T , typename Lattice , template< typename V > class Particle>
olb::BaseForwardCouplingModel< T, Lattice, Particle >::BaseForwardCouplingModel ( UnitConverter< T, Lattice > & converter,
SuperLattice< T, Lattice > & sLattice,
SuperGeometry< T, 3 > & sGeometry,
std::shared_ptr< DragModel< T, Particle > > dragModel )
protected

Constructor.

Definition at line 48 of file forwardCouplingModels3D.hh.

53 : ForwardCouplingModel<T,Particle>(sGeometry, dragModel),
54 _converter(converter),
55 _sLattice(sLattice)
56{
57 this->_interpLatticeDensity = std::make_shared<SuperLatticeInterpDensity3Degree3D<T, Lattice> > (
58 this->_sLattice, this->_sGeometry, this->_converter );
59 this->_interpLatticeVelocity = std::make_shared<SuperLatticeInterpPhysVelocity3D<T, Lattice> > (
60 this->_sLattice, this->_converter );
61}
UnitConverter< T, Lattice > & _converter
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > _interpLatticeVelocity
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > _interpLatticeDensity
SuperLattice< T, Lattice > & _sLattice
SuperGeometry< T, 3 > & _sGeometry

References olb::BaseForwardCouplingModel< T, Lattice, Particle >::_converter, olb::BaseForwardCouplingModel< T, Lattice, Particle >::_interpLatticeDensity, olb::BaseForwardCouplingModel< T, Lattice, Particle >::_interpLatticeVelocity, olb::ForwardCouplingModel< T, Particle >::_sGeometry, and olb::BaseForwardCouplingModel< T, Lattice, Particle >::_sLattice.

Member Data Documentation

◆ _converter

template<typename T , typename Lattice , template< typename V > class Particle>
UnitConverter<T, Lattice>& olb::BaseForwardCouplingModel< T, Lattice, Particle >::_converter
protected

Definition at line 63 of file forwardCouplingModels3D.h.

◆ _interpLatticeDensity

template<typename T , typename Lattice , template< typename V > class Particle>
std::shared_ptr<SuperLatticeInterpDensity3Degree3D<T, Lattice> > olb::BaseForwardCouplingModel< T, Lattice, Particle >::_interpLatticeDensity
protected

Definition at line 66 of file forwardCouplingModels3D.h.

◆ _interpLatticeVelocity

template<typename T , typename Lattice , template< typename V > class Particle>
std::shared_ptr<SuperLatticeInterpPhysVelocity3D<T, Lattice> > olb::BaseForwardCouplingModel< T, Lattice, Particle >::_interpLatticeVelocity
protected

Definition at line 68 of file forwardCouplingModels3D.h.

◆ _momentumExchange

template<typename T , typename Lattice , template< typename V > class Particle>
std::shared_ptr<TwoWayHelperFunctional<T, Lattice> > olb::BaseForwardCouplingModel< T, Lattice, Particle >::_momentumExchange
protected

Definition at line 70 of file forwardCouplingModels3D.h.

◆ _sLattice

template<typename T , typename Lattice , template< typename V > class Particle>
SuperLattice<T, Lattice>& olb::BaseForwardCouplingModel< T, Lattice, Particle >::_sLattice
protected

Definition at line 64 of file forwardCouplingModels3D.h.


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