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

Class for a naive forward-coupling model. More...

#include <forwardCouplingModels3D.h>

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

Public Member Functions

 NaiveForwardCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel)
 Constructor.
 
- Public Member Functions inherited from olb::LocalBaseForwardCouplingModel< T, Lattice, Particle >
virtual bool operator() (Particle< T > *p, int globic) override
 Class operator to apply the coupling, for overload.
 

Additional Inherited Members

- Protected Member Functions inherited from olb::LocalBaseForwardCouplingModel< T, Lattice, Particle >
 LocalBaseForwardCouplingModel (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::BaseForwardCouplingModel< T, Lattice, Particle >
 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 inherited from olb::BaseForwardCouplingModel< T, Lattice, Particle >
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
 

Detailed Description

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

Class for a naive forward-coupling model.

Input parameters in attice units.

Definition at line 95 of file forwardCouplingModels3D.h.

Constructor & Destructor Documentation

◆ NaiveForwardCouplingModel()

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

Constructor.

Definition at line 165 of file forwardCouplingModels3D.hh.

170 : LocalBaseForwardCouplingModel<T,Lattice,Particle>(converter, sLattice, sGeometry, dragModel)
171{
172 this->_momentumExchange = std::make_shared<NaiveMomentumExchange<T, Lattice> > (
173 this->_converter, this->_sLattice, this->_interpLatticeDensity );
174}
UnitConverter< T, Lattice > & _converter
std::shared_ptr< TwoWayHelperFunctional< T, Lattice > > _momentumExchange
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > _interpLatticeDensity
SuperLattice< T, Lattice > & _sLattice

References olb::BaseForwardCouplingModel< T, Lattice, Particle >::_converter, olb::BaseForwardCouplingModel< T, Lattice, Particle >::_interpLatticeDensity, olb::BaseForwardCouplingModel< T, Lattice, Particle >::_momentumExchange, and olb::BaseForwardCouplingModel< T, Lattice, Particle >::_sLattice.


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