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

#include <shanChenDynOmegaForcedPostProcessor2D.h>

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

Public Member Functions

 ShanChenDynOmegaForcedGenerator2D (int x0_, int x1_, int y0_, int y1_, T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
 LatticeCouplingGenerator for NS coupling.
 
 ShanChenDynOmegaForcedGenerator2D (T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
 
virtual PostProcessor2D< T, DESCRIPTOR > * generate (std::vector< BlockStructureD< 2 > * > partners) const
 
virtual LatticeCouplingGenerator2D< T, DESCRIPTOR > * clone () const
 
- Public Member Functions inherited from olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >
 LatticeCouplingGenerator2D (int x0_, int x1_, int y0_, int y1_)
 
virtual ~LatticeCouplingGenerator2D ()
 
void shift (LatticeR< 2 > delta)
 
void shift (int deltaX, int deltaY)
 
bool extract (int x0_, int x1_, int y0_, int y1_)
 
bool extract (LatticeR< 2 > lower, LatticeR< 2 > upper)
 
void reset (int x0_, int x1_, int y0_, int y1_)
 
void reset (LatticeR< 2 > lower, LatticeR< 2 > upper)
 

Additional Inherited Members

- Protected Attributes inherited from olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >
int x0
 
int x1
 
int y0
 
int y1
 

Detailed Description

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

Definition at line 71 of file shanChenDynOmegaForcedPostProcessor2D.h.

Constructor & Destructor Documentation

◆ ShanChenDynOmegaForcedGenerator2D() [1/2]

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

LatticeCouplingGenerator for NS coupling.

Definition at line 164 of file shanChenDynOmegaForcedPostProcessor2D.hh.

166 : LatticeCouplingGenerator2D<T,DESCRIPTOR>(x0_, x1_, y0_, y1_), G(G_), rho0(rho0_), interactionPotential(iP_)
167{ }

◆ ShanChenDynOmegaForcedGenerator2D() [2/2]

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

Definition at line 170 of file shanChenDynOmegaForcedPostProcessor2D.hh.

172 : LatticeCouplingGenerator2D<T,DESCRIPTOR>(0, 0, 0, 0), G(G_), rho0(rho0_), interactionPotential(iP_)
173{ }

Member Function Documentation

◆ clone()

template<typename T , typename DESCRIPTOR >
LatticeCouplingGenerator2D< T, DESCRIPTOR > * olb::ShanChenDynOmegaForcedGenerator2D< T, DESCRIPTOR >::clone ( ) const
virtual

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 184 of file shanChenDynOmegaForcedPostProcessor2D.hh.

185{
186 return new ShanChenDynOmegaForcedGenerator2D<T,DESCRIPTOR>(*this);
187}

◆ generate()

template<typename T , typename DESCRIPTOR >
PostProcessor2D< T, DESCRIPTOR > * olb::ShanChenDynOmegaForcedGenerator2D< T, DESCRIPTOR >::generate ( std::vector< BlockStructureD< 2 > * > partners) const
virtual

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 176 of file shanChenDynOmegaForcedPostProcessor2D.hh.

178{
179 return new ShanChenDynOmegaForcedPostProcessor2D<T,DESCRIPTOR>(
180 this->x0,this->x1,this->y0,this->y1,G, rho0, interactionPotential, partners);
181}

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