OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::LatticeBoltzmannReactingSpecies2D< T, DESCRIPTOR, SOURCE > Class Template Referencefinal

#include <reactingSpecies2D.h>

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

Public Member Functions

 LatticeBoltzmannReactingSpecies2D (T stoichioCoeff)
 
T getField (BlockStructureD< 2 > *blockStructure, int iX, int iY)
 
- Public Member Functions inherited from olb::ReactingSpecies2D< T, DESCRIPTOR, SOURCE, LatticeBoltzmannReactingSpecies2D< T, DESCRIPTOR, SOURCE > >
 ReactingSpecies2D (T stoichioCoeff)
 
T getStoichioCoeff ()
 
T getField (BlockStructureD< 2 > *blockStructure, int iX, int iY)
 
T getSource (BlockStructureD< 2 > *blockStructure, int iX, int iY)
 
void incrementSource (BlockStructureD< 2 > *blockStructure, T val, int iX, int iY)
 
void resetSource (BlockStructureD< 2 > *blockStructure, int iX, int iY)
 

Additional Inherited Members

- Protected Attributes inherited from olb::ReactingSpecies2D< T, DESCRIPTOR, SOURCE, LatticeBoltzmannReactingSpecies2D< T, DESCRIPTOR, SOURCE > >
T _stoichioCoeff
 

Detailed Description

template<typename T, typename DESCRIPTOR, typename SOURCE>
class olb::LatticeBoltzmannReactingSpecies2D< T, DESCRIPTOR, SOURCE >

Definition at line 71 of file reactingSpecies2D.h.

Constructor & Destructor Documentation

◆ LatticeBoltzmannReactingSpecies2D()

template<typename T , typename DESCRIPTOR , typename SOURCE >
olb::LatticeBoltzmannReactingSpecies2D< T, DESCRIPTOR, SOURCE >::LatticeBoltzmannReactingSpecies2D ( T stoichioCoeff)

Member Function Documentation

◆ getField()

template<typename T , typename DESCRIPTOR , typename SOURCE >
T olb::LatticeBoltzmannReactingSpecies2D< T, DESCRIPTOR, SOURCE >::getField ( BlockStructureD< 2 > * blockStructure,
int iX,
int iY )

Definition at line 100 of file reactingSpecies2D.hh.

101{
102 return static_cast<BlockLattice<T,DESCRIPTOR>*>(blockStructure)->get(iX, iY).computeRho();
103}
int get()
Get current device.
Definition device.hh:71

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