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

#include <reactionPostProcessor3D.h>

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

Public Member Functions

 ReactionGenerator3D (int x0_, int x1_, int y0_, int y1_, int z0_, int z1_, std::vector< std::shared_ptr< Rate< T > > > rate, REACTIONS &&reactions)
 
 ReactionGenerator3D (std::vector< std::shared_ptr< Rate< T > > > rate, REACTIONS &&reactions)
 
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, typename REACTIONS>
class olb::ReactionGenerator3D< T, DESCRIPTOR, REACTIONS >

Definition at line 70 of file reactionPostProcessor3D.h.

Constructor & Destructor Documentation

◆ ReactionGenerator3D() [1/2]

template<typename T , typename DESCRIPTOR , typename REACTIONS >
olb::ReactionGenerator3D< T, DESCRIPTOR, REACTIONS >::ReactionGenerator3D ( int x0_,
int x1_,
int y0_,
int y1_,
int z0_,
int z1_,
std::vector< std::shared_ptr< Rate< T > > > rate,
REACTIONS && reactions )

Definition at line 127 of file reactionPostProcessor3D.hh.

129 : LatticeCouplingGenerator3D<T,DESCRIPTOR>(x0_, x1_, y0_, y1_, z0_, z1_),
130 _rate(rate), _reactions(std::make_shared<REACTIONS>(reactions))
131{}

◆ ReactionGenerator3D() [2/2]

template<typename T , typename DESCRIPTOR , typename REACTIONS >
olb::ReactionGenerator3D< T, DESCRIPTOR, REACTIONS >::ReactionGenerator3D ( std::vector< std::shared_ptr< Rate< T > > > rate,
REACTIONS && reactions )

Definition at line 134 of file reactionPostProcessor3D.hh.

136 : ReactionGenerator3D<T,DESCRIPTOR,REACTIONS>(0,0,0,0,0,0,rate,std::move(reactions))
137{}

Member Function Documentation

◆ clone()

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

Implements olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >.

Definition at line 147 of file reactionPostProcessor3D.hh.

148{
149 return new ReactionGenerator3D<T,DESCRIPTOR,REACTIONS>(*this);
150}

◆ generate()

template<typename T , typename DESCRIPTOR , typename REACTIONS >
PostProcessor3D< T, DESCRIPTOR > * olb::ReactionGenerator3D< T, DESCRIPTOR, REACTIONS >::generate ( std::vector< BlockStructureD< 3 > * > partners) const
overridevirtual

Implements olb::LatticeCouplingGenerator3D< T, DESCRIPTOR >.

Definition at line 140 of file reactionPostProcessor3D.hh.

141{
142 return new ReactionPostProcessor3D<T,DESCRIPTOR,REACTIONS>(
143 this->x0,this->x1,this->y0,this->y1,this->z0,this->z1, _rate, _reactions, partners);
144}

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