OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR > Class Template Reference

This class copies missing values in the external field from the neighbour in normal direction. More...

#include <advectionDiffusionBoundaryPostProcessor3D.h>

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

Public Member Functions

 ZeroDistributionBoundaryProcessor3D (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_, int discreteNormalX_, int discreteNormalY_, int discreteNormalZ_)
 
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_, int z0_, int z1_) override
 Execute post-processing step on a sublattice.
 
- Public Member Functions inherited from olb::PostProcessor3D< T, DESCRIPTOR >
 PostProcessor3D ()
 
virtual ~PostProcessor3D ()
 
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::PostProcessor3D< T, DESCRIPTOR >
int _priority
 

Detailed Description

template<typename T, typename DESCRIPTOR>
class olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR >

This class copies missing values in the external field from the neighbour in normal direction.

Therefore it is assumed this neighbour is a fluid cell. This class resets some values of the distribution on the boundary that can have arbitrary values to be zero and thus ensures a correct computation of the density that is about to leave the domain.

Definition at line 90 of file advectionDiffusionBoundaryPostProcessor3D.h.

Constructor & Destructor Documentation

◆ ZeroDistributionBoundaryProcessor3D()

template<typename T , typename DESCRIPTOR >
olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR >::ZeroDistributionBoundaryProcessor3D ( int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_,
int discreteNormalX_,
int discreteNormalY_,
int discreteNormalZ_ )

Member Function Documentation

◆ extent() [1/2]

template<typename T , typename DESCRIPTOR >
int olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR >::extent ( ) const
inlineoverridevirtual

Extent of application area (0 for purely local operations)

Implements olb::PostProcessor3D< T, DESCRIPTOR >.

Definition at line 95 of file advectionDiffusionBoundaryPostProcessor3D.h.

96 {
97 return 0;
98 }

◆ extent() [2/2]

template<typename T , typename DESCRIPTOR >
int olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR >::extent ( int direction) const
inlineoverridevirtual

Extent of application area along a direction (0 or 1)

Implements olb::PostProcessor3D< T, DESCRIPTOR >.

Definition at line 99 of file advectionDiffusionBoundaryPostProcessor3D.h.

100 {
101 return 0;
102 }

◆ process()

template<typename T , typename DESCRIPTOR >
void olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR >::process ( BlockLattice< T, DESCRIPTOR > & blockLattice)
overridevirtual

Execute post-processing step.

Implements olb::PostProcessor3D< T, DESCRIPTOR >.

◆ processSubDomain()

template<typename T , typename DESCRIPTOR >
void olb::ZeroDistributionBoundaryProcessor3D< T, DESCRIPTOR >::processSubDomain ( BlockLattice< T, DESCRIPTOR > & blockLattice,
int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_ )
overridevirtual

Execute post-processing step on a sublattice.

Implements olb::PostProcessor3D< T, DESCRIPTOR >.


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