OpenLB 1.7
|
BlockDataF2D can store data of any BlockFunctor2D. More...
#include <blockBaseF2D.h>
Public Member Functions | |
BlockDataF2D (BlockData< 2, T, BaseType > &blockData) | |
Constructor. | |
~BlockDataF2D () | |
BlockDataF2D (BlockF2D< BaseType > &f) | |
to store functor data, constuctor creates _blockData with functor data | |
BlockData< 2, T, BaseType > & | getBlockData () |
returns _blockData | |
bool | operator() (BaseType output[], const int input[]) override |
access to _blockData via its get() | |
Public Member Functions inherited from olb::BlockF2D< BaseType > | |
virtual BlockStructureD< 2 > & | getBlockStructure () |
virtual destructor for defined behaviour | |
void | setBlockStructure (BlockStructureD< 2 > *blockStructure) |
BlockF2D< BaseType > & | operator- (BlockF2D< BaseType > &rhs) |
BlockF2D< BaseType > & | operator+ (BlockF2D< BaseType > &rhs) |
BlockF2D< BaseType > & | operator* (BlockF2D< BaseType > &rhs) |
BlockF2D< BaseType > & | operator/ (BlockF2D< BaseType > &rhs) |
Public Member Functions inherited from olb::GenericF< T, S > | |
virtual | ~GenericF ()=default |
int | getSourceDim () const |
read only access to member variable _m | |
int | getTargetDim () const |
read only access to member variable _n | |
std::string & | getName () |
read and write access to name | |
std::string const & | getName () const |
read only access to name | |
virtual bool | operator() (T output[], const S input[])=0 |
has to be implemented for 'every' derived class | |
bool | operator() (T output[]) |
wrapper that call the pure virtual operator() (T output[], const S input[]) from above | |
bool | operator() (T output[], S input0) |
bool | operator() (T output[], S input0, S input1) |
bool | operator() (T output[], S input0, S input1, S input2) |
bool | operator() (T output[], S input0, S input1, S input2, S input3) |
Protected Member Functions | |
BlockDataF2D (int nx, int ny, int size=1) | |
Protected Member Functions inherited from olb::BlockF2D< BaseType > | |
BlockF2D (BlockStructureD< 2 > &blockStructure, int targetDim) | |
BlockF2D (int targetDim) | |
Protected Member Functions inherited from olb::GenericF< T, S > | |
GenericF (int targetDim, int sourceDim) | |
Protected Attributes | |
BlockData< 2, T, BaseType > * | _blockData |
bool | _owning |
Protected Attributes inherited from olb::BlockF2D< BaseType > | |
BlockStructureD< 2 > * | _blockStructure |
Additional Inherited Members | |
Public Types inherited from olb::GenericF< T, S > | |
using | targetType = T |
using | sourceType = S |
Public Attributes inherited from olb::GenericF< T, S > | |
std::shared_ptr< GenericF< T, S > > | _ptrCalcC |
memory management, frees resouces (calcClass) | |
BlockDataF2D can store data of any BlockFunctor2D.
Definition at line 68 of file blockBaseF2D.h.
|
protected |
Definition at line 69 of file blockBaseF2D.hh.
olb::BlockDataF2D< T, BaseType >::BlockDataF2D | ( | BlockData< 2, T, BaseType > & | blockData | ) |
Constructor.
Definition at line 55 of file blockBaseF2D.hh.
olb::BlockDataF2D< T, BaseType >::~BlockDataF2D | ( | ) |
Definition at line 78 of file blockBaseF2D.hh.
olb::BlockDataF2D< T, BaseType >::BlockDataF2D | ( | BlockF2D< BaseType > & | f | ) |
to store functor data, constuctor creates _blockData with functor data
Definition at line 62 of file blockBaseF2D.hh.
BlockData< 2, T, BaseType > & olb::BlockDataF2D< T, BaseType >::getBlockData | ( | ) |
|
override |
access to _blockData via its get()
Definition at line 92 of file blockBaseF2D.hh.
References olb::BlockData< D, T, U >::get().
|
protected |
Definition at line 71 of file blockBaseF2D.h.
|
protected |
Definition at line 72 of file blockBaseF2D.h.