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

#include <shanChenForcedSingleComponentPostProcessor2D.h>

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

Public Member Functions

 ShanChenForcedSingleComponentGenerator2D (int x0_, int x1_, int y0_, int y1_, T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
 LatticeCouplingGenerator for NS coupling.
 
 ShanChenForcedSingleComponentGenerator2D (T G_, std::vector< T > rho0_, AnalyticalF< 1, T, T > &iP_)
 
PostProcessor2D< T, DESCRIPTOR > * generate (std::vector< BlockStructureD< 2 > * > partners) const override
 
LatticeCouplingGenerator2D< T, DESCRIPTOR > * clone () const override
 
- 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::ShanChenForcedSingleComponentGenerator2D< T, DESCRIPTOR >

Definition at line 73 of file shanChenForcedSingleComponentPostProcessor2D.h.

Constructor & Destructor Documentation

◆ ShanChenForcedSingleComponentGenerator2D() [1/2]

template<typename T , typename DESCRIPTOR >
olb::ShanChenForcedSingleComponentGenerator2D< T, DESCRIPTOR >::ShanChenForcedSingleComponentGenerator2D ( 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 136 of file shanChenForcedSingleComponentPostProcessor2D.hh.

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

◆ ShanChenForcedSingleComponentGenerator2D() [2/2]

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

Definition at line 142 of file shanChenForcedSingleComponentPostProcessor2D.hh.

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

Member Function Documentation

◆ clone()

template<typename T , typename DESCRIPTOR >
LatticeCouplingGenerator2D< T, DESCRIPTOR > * olb::ShanChenForcedSingleComponentGenerator2D< T, DESCRIPTOR >::clone ( ) const
overridevirtual

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 156 of file shanChenForcedSingleComponentPostProcessor2D.hh.

157{
158 return new ShanChenForcedSingleComponentGenerator2D<T,DESCRIPTOR>(*this);
159}

◆ generate()

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

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 148 of file shanChenForcedSingleComponentPostProcessor2D.hh.

150{
151 return new ShanChenForcedSingleComponentPostProcessor2D<T,DESCRIPTOR>(
152 this->x0,this->x1,this->y0,this->y1,G, rho0, interactionPotential, partners);
153}

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