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

Abstact class for all the local forward-coupling models, viz., momentum coupling from fluid to particle. More...

#include <twoWayHelperFunctionals.h>

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

Public Member Functions

virtual bool operator() (T gF[], T latticeVelF[], T latticeVelP[], T physPosP[], int latticeRoundedP[], int globic)=0
 Computes the momentum transfer from fluid to particle.
 
virtual ~TwoWayHelperFunctional ()
 

Protected Member Functions

 TwoWayHelperFunctional (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice)
 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
 

Detailed Description

template<typename T, typename Lattice>
class olb::TwoWayHelperFunctional< T, Lattice >

Abstact class for all the local forward-coupling models, viz., momentum coupling from fluid to particle.

Input parameters in attice units.

Definition at line 41 of file twoWayHelperFunctionals.h.

Constructor & Destructor Documentation

◆ ~TwoWayHelperFunctional()

template<typename T , typename Lattice >
olb::TwoWayHelperFunctional< T, Lattice >::~TwoWayHelperFunctional ( )
virtual

Definition at line 44 of file twoWayHelperFunctionals.hh.

45{
48}
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > _interpLatticeDensity
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > _interpLatticeVelocity

◆ TwoWayHelperFunctional()

template<typename T , typename Lattice >
olb::TwoWayHelperFunctional< T, Lattice >::TwoWayHelperFunctional ( UnitConverter< T, Lattice > & converter,
SuperLattice< T, Lattice > & sLattice )
protected

Constructor.

Definition at line 36 of file twoWayHelperFunctionals.hh.

39 : _converter(converter),
40 _sLattice(sLattice)
41{}
SuperLattice< T, Lattice > & _sLattice
UnitConverter< T, Lattice > & _converter

Member Function Documentation

◆ operator()()

template<typename T , typename Lattice >
virtual bool olb::TwoWayHelperFunctional< T, Lattice >::operator() ( T gF[],
T latticeVelF[],
T latticeVelP[],
T physPosP[],
int latticeRoundedP[],
int globic )
pure virtual

Computes the momentum transfer from fluid to particle.

Implemented in olb::NaiveMomentumExchange< T, Lattice >, and olb::LaddMomentumExchange< T, Lattice >.

Member Data Documentation

◆ _converter

template<typename T , typename Lattice >
UnitConverter<T, Lattice>& olb::TwoWayHelperFunctional< T, Lattice >::_converter
protected

Definition at line 52 of file twoWayHelperFunctionals.h.

◆ _interpLatticeDensity

template<typename T , typename Lattice >
std::shared_ptr<SuperLatticeInterpDensity3Degree3D<T, Lattice> > olb::TwoWayHelperFunctional< T, Lattice >::_interpLatticeDensity
protected

Definition at line 54 of file twoWayHelperFunctionals.h.

◆ _interpLatticeVelocity

template<typename T , typename Lattice >
std::shared_ptr<SuperLatticeInterpPhysVelocity3D<T, Lattice> > olb::TwoWayHelperFunctional< T, Lattice >::_interpLatticeVelocity
protected

Definition at line 55 of file twoWayHelperFunctionals.h.

◆ _sLattice

template<typename T , typename Lattice >
SuperLattice<T, Lattice>& olb::TwoWayHelperFunctional< T, Lattice >::_sLattice
protected

Definition at line 53 of file twoWayHelperFunctionals.h.


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