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

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

#include <freeEnergyPostProcessor3D.h>

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

Public Member Functions

 FreeEnergyInletOutletGenerator3D (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_)
 
 FreeEnergyInletOutletGenerator3D ()
 
PostProcessor3D< T, DESCRIPTOR > * generate (std::vector< BlockStructureD< 3 > * > partners) const override
 
LatticeCouplingGenerator3D< T, DESCRIPTOR > * clone () const override
 
- 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::FreeEnergyInletOutletGenerator3D< T, DESCRIPTOR >

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

Definition at line 206 of file freeEnergyPostProcessor3D.h.

Constructor & Destructor Documentation

◆ FreeEnergyInletOutletGenerator3D() [1/2]

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

Definition at line 584 of file freeEnergyPostProcessor3D.hh.

586 : LatticeCouplingGenerator3D<T,DESCRIPTOR>(x0_, x1_, y0_, y1_, z0_, z1_)
587{ }

◆ FreeEnergyInletOutletGenerator3D() [2/2]

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

Definition at line 590 of file freeEnergyPostProcessor3D.hh.

591 : LatticeCouplingGenerator3D<T,DESCRIPTOR>(0, 0, 0, 0, 0, 0)
592{ }

Member Function Documentation

◆ clone()

template<typename T , typename DESCRIPTOR >
LatticeCouplingGenerator3D< T, DESCRIPTOR > * olb::FreeEnergyInletOutletGenerator3D< T, DESCRIPTOR >::clone ( ) const
overridevirtual

Implements olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >.

Definition at line 603 of file freeEnergyPostProcessor3D.hh.

604{
605 return new FreeEnergyInletOutletGenerator3D<T,DESCRIPTOR>(*this);
606}

◆ generate()

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

Implements olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >.

Definition at line 595 of file freeEnergyPostProcessor3D.hh.

597{
598 return new FreeEnergyInletOutletCoupling3D<T,DESCRIPTOR>(
599 this->x0, this->x1, this->y0, this->y1, this->z0, this->z1, partners);
600}

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