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

Generator class for the PostProcessors assigning the velocity at the outlet to lattice two and three. More...

#include <freeEnergyPostProcessor2D.h>

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

Public Member Functions

 FreeEnergyInletOutletGenerator2D (int x0_, int x1_, int y0_, int y1_)
 
 FreeEnergyInletOutletGenerator2D ()
 
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::FreeEnergyInletOutletGenerator2D< T, DESCRIPTOR >

Generator class for the PostProcessors assigning the velocity at the outlet to lattice two and three.

Definition at line 216 of file freeEnergyPostProcessor2D.h.

Constructor & Destructor Documentation

◆ FreeEnergyInletOutletGenerator2D() [1/2]

template<typename T , typename DESCRIPTOR >
olb::FreeEnergyInletOutletGenerator2D< T, DESCRIPTOR >::FreeEnergyInletOutletGenerator2D ( int x0_,
int x1_,
int y0_,
int y1_ )

Definition at line 474 of file freeEnergyPostProcessor2D.hh.

476 : LatticeCouplingGenerator2D<T,DESCRIPTOR>(x0_, x1_, y0_, y1_)
477{ }

◆ FreeEnergyInletOutletGenerator2D() [2/2]

template<typename T , typename DESCRIPTOR >
olb::FreeEnergyInletOutletGenerator2D< T, DESCRIPTOR >::FreeEnergyInletOutletGenerator2D ( )

Definition at line 480 of file freeEnergyPostProcessor2D.hh.

481 : LatticeCouplingGenerator2D<T,DESCRIPTOR>(0, 0, 0, 0)
482{ }

Member Function Documentation

◆ clone()

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

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 493 of file freeEnergyPostProcessor2D.hh.

494{
495 return new FreeEnergyInletOutletGenerator2D<T,DESCRIPTOR>(*this);
496}

◆ generate()

template<typename T , typename DESCRIPTOR >
PostProcessor2D< T, DESCRIPTOR > * olb::FreeEnergyInletOutletGenerator2D< T, DESCRIPTOR >::generate ( std::vector< BlockStructureD< 2 > * > partners) const
overridevirtual
Parameters
[in]partners_- Contains one partner lattice for two fluid components, or two lattices for three components.

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 485 of file freeEnergyPostProcessor2D.hh.

487{
488 return new FreeEnergyInletOutletCoupling2D<T,DESCRIPTOR>(
489 this->x0,this->x1,this->y0,this->y1, partners);
490}

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