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

#include <shanChenDynOmegaForcedPostProcessor3D.h>

+ Inheritance diagram for olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >:
+ Collaboration diagram for olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >:

Public Member Functions

 ShanChenDynOmegaForcedGenerator3D (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_, T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
 LatticeCouplingGenerator for NS coupling.
 
 ShanChenDynOmegaForcedGenerator3D (T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
 
virtual PostProcessor3D< T, DESCRIPTOR > * generate (std::vector< BlockStructureD< 3 > * > partners) const
 
virtual LatticeCouplingGenerator3D< T, DESCRIPTOR > * clone () const
 
- Public Member Functions inherited from olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >
 LatticeCouplingGenerator3D ()=delete
 
 LatticeCouplingGenerator3D (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
 
virtual ~LatticeCouplingGenerator3D ()
 
void shift (LatticeR< 3 > delta, int iC_=-1)
 
void shift (int deltaX, int deltaY, int deltaZ, int iC_=-1)
 
bool extract (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
 
bool extract (LatticeR< 3 > lower, LatticeR< 3 > upper)
 
void reset (LatticeR< 3 > lower, LatticeR< 3 > upper)
 
void reset (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
 

Additional Inherited Members

- Protected Attributes inherited from olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >
int x0
 
int x1
 
int y0
 
int y1
 
int z0
 
int z1
 
int iC
 

Detailed Description

template<typename T, typename DESCRIPTOR>
class olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >

Definition at line 71 of file shanChenDynOmegaForcedPostProcessor3D.h.

Constructor & Destructor Documentation

◆ ShanChenDynOmegaForcedGenerator3D() [1/2]

template<typename T , typename DESCRIPTOR >
olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >::ShanChenDynOmegaForcedGenerator3D ( int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_,
T G_,
std::vector< T > rho0_,
AnalyticalF< 1, T, T > & iP_ )

LatticeCouplingGenerator for NS coupling.

Definition at line 171 of file shanChenDynOmegaForcedPostProcessor3D.hh.

173 : LatticeCouplingGenerator3D<T,DESCRIPTOR>(x0_, x1_, y0_, y1_, z0_, z1_), G(G_), interactionPotential(iP_), rho0(rho0_)
174{ }

◆ ShanChenDynOmegaForcedGenerator3D() [2/2]

template<typename T , typename DESCRIPTOR >
olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >::ShanChenDynOmegaForcedGenerator3D ( T G_,
std::vector< T > rho0_,
AnalyticalF< 1, T, T > & iP_ )

Definition at line 177 of file shanChenDynOmegaForcedPostProcessor3D.hh.

179 : LatticeCouplingGenerator3D<T,DESCRIPTOR>(0, 0, 0, 0, 0, 0), G(G_), interactionPotential(iP_), rho0(rho0_)
180{ }

Member Function Documentation

◆ clone()

template<typename T , typename DESCRIPTOR >
LatticeCouplingGenerator3D< T, DESCRIPTOR > * olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >::clone ( ) const
virtual

Implements olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >.

Definition at line 191 of file shanChenDynOmegaForcedPostProcessor3D.hh.

192{
193 return new ShanChenDynOmegaForcedGenerator3D<T,DESCRIPTOR>(*this);
194}

◆ generate()

template<typename T , typename DESCRIPTOR >
PostProcessor3D< T, DESCRIPTOR > * olb::ShanChenDynOmegaForcedGenerator3D< T, DESCRIPTOR >::generate ( std::vector< BlockStructureD< 3 > * > partners) const
virtual

Implements olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >.

Definition at line 183 of file shanChenDynOmegaForcedPostProcessor3D.hh.

185{
186 return new ShanChenDynOmegaForcedPostProcessor3D<T,DESCRIPTOR>(
187 this->x0,this->x1,this->y0,this->y1,this->z0,this->z1, G, rho0, interactionPotential, partners);
188}

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