OpenLB 1.7
|
PostProcessor for setting a constant density outlet. More...
#include <freeEnergyPostProcessor2D.h>
Public Member Functions | |
FreeEnergyDensityOutletCoupling2D (int x0_, int x1_, int y0_, int y1_, T rho_, std::vector< BlockStructureD< 2 > * > partners_) | |
FreeEnergyDensityOutletCoupling2D (T rho_, std::vector< BlockStructureD< 2 > * > partners_) | |
int | extent () const override |
Extent of application area (0 for purely local operations) | |
int | extent (int whichDirection) const override |
Extent of application area along a direction (0 or 1) | |
void | process (BlockLattice< T, DESCRIPTOR > &blockLattice) override |
Execute post-processing step. | |
void | processSubDomain (BlockLattice< T, DESCRIPTOR > &blockLattice, int x0_, int x1_, int y0_, int y1_) override |
Execute post-processing step on a sublattice. | |
Public Member Functions inherited from olb::PostProcessor2D< T, DESCRIPTOR > | |
PostProcessor2D () | |
virtual | ~PostProcessor2D () |
std::string & | getName () |
read and write access to name | |
std::string const & | getName () const |
read only access to name | |
int | getPriority () const |
read only access to priority | |
Additional Inherited Members | |
Protected Attributes inherited from olb::PostProcessor2D< T, DESCRIPTOR > | |
int | _priority |
PostProcessor for setting a constant density outlet.
This should be used before the bulk chemical potential post- processor because it depends upon the result of this.
Definition at line 141 of file freeEnergyPostProcessor2D.h.
olb::FreeEnergyDensityOutletCoupling2D< T, DESCRIPTOR >::FreeEnergyDensityOutletCoupling2D | ( | int | x0_, |
int | x1_, | ||
int | y0_, | ||
int | y1_, | ||
T | rho_, | ||
std::vector< BlockStructureD< 2 > * > | partners_ ) |
[in] | rho_ | - Gives the value of the density constraint. |
[in] | partners_ | - Contains one partner lattice for two fluid components, or two lattices for three components. |
Definition at line 343 of file freeEnergyPostProcessor2D.hh.
References olb::PostProcessor2D< T, DESCRIPTOR >::getName().
olb::FreeEnergyDensityOutletCoupling2D< T, DESCRIPTOR >::FreeEnergyDensityOutletCoupling2D | ( | T | rho_, |
std::vector< BlockStructureD< 2 > * > | partners_ ) |
[in] | rho_ | - Gives the value of the density constraint. |
[in] | partners_ | - Contains one partner lattice for two fluid components, or two lattices for three components. |
Definition at line 352 of file freeEnergyPostProcessor2D.hh.
References olb::PostProcessor2D< T, DESCRIPTOR >::getName().
|
inlineoverridevirtual |
Extent of application area (0 for purely local operations)
Implements olb::PostProcessor2D< T, DESCRIPTOR >.
Definition at line 150 of file freeEnergyPostProcessor2D.h.
|
inlineoverridevirtual |
Extent of application area along a direction (0 or 1)
Implements olb::PostProcessor2D< T, DESCRIPTOR >.
Definition at line 154 of file freeEnergyPostProcessor2D.h.
|
overridevirtual |
Execute post-processing step.
Implements olb::PostProcessor2D< T, DESCRIPTOR >.
Definition at line 392 of file freeEnergyPostProcessor2D.hh.
|
overridevirtual |
Execute post-processing step on a sublattice.
Implements olb::PostProcessor2D< T, DESCRIPTOR >.
Definition at line 360 of file freeEnergyPostProcessor2D.hh.
References olb::BlockLattice< T, DESCRIPTOR >::get(), and olb::util::intersect().