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

Generator class for the PostProcessors calculating the interfacial force. More...

#include <freeEnergyPostProcessor2D.h>

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

Public Member Functions

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

Generator class for the PostProcessors calculating the interfacial force.

Definition at line 205 of file freeEnergyPostProcessor2D.h.

Constructor & Destructor Documentation

◆ FreeEnergyForceGenerator2D() [1/2]

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

Definition at line 447 of file freeEnergyPostProcessor2D.hh.

449 : LatticeCouplingGenerator2D<T,DESCRIPTOR>(x0_, x1_, y0_, y1_)
450{ }

◆ FreeEnergyForceGenerator2D() [2/2]

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

Definition at line 453 of file freeEnergyPostProcessor2D.hh.

454 : LatticeCouplingGenerator2D<T,DESCRIPTOR>(0, 0, 0, 0)
455{ }

Member Function Documentation

◆ clone()

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

Implements olb::LatticeCouplingGenerator2D< T, DESCRIPTOR >.

Definition at line 466 of file freeEnergyPostProcessor2D.hh.

467{
468 return new FreeEnergyForceGenerator2D<T,DESCRIPTOR>(*this);
469}

◆ generate()

template<typename T , typename DESCRIPTOR >
PostProcessor2D< T, DESCRIPTOR > * olb::FreeEnergyForceGenerator2D< 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 458 of file freeEnergyPostProcessor2D.hh.

460{
461 return new FreeEnergyForceCoupling2D<T,DESCRIPTOR>(
462 this->x0,this->x1,this->y0,this->y1, partners);
463}

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