OpenLB 1.7
|
BlockDataF3D can store data of any BlockFunctor3D. More...
#include <blockBaseF3D.h>
Public Member Functions | |
BlockDataF3D (BlockData< 3, T, BaseType > &blockData) | |
Constructor. | |
BlockDataF3D (BlockF3D< BaseType > &f) | |
to store functor data, constuctor creates _blockData with functor data | |
BlockData< 3, 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::BlockF3D< BaseType > | |
~BlockF3D () override | |
virtual destructor for defined behaviour | |
virtual BlockStructureD< 3 > & | getBlockStructure () const |
BlockF3D< BaseType > & | operator- (BlockF3D< BaseType > &rhs) |
BlockF3D< BaseType > & | operator+ (BlockF3D< BaseType > &rhs) |
BlockF3D< BaseType > & | operator* (BlockF3D< BaseType > &rhs) |
BlockF3D< BaseType > & | operator/ (BlockF3D< 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 | |
BlockDataF3D (int nx, int ny, int nz, int size=1) | |
Protected Member Functions inherited from olb::BlockF3D< BaseType > | |
BlockF3D (BlockStructureD< 3 > &blockStructure, int targetDim) | |
Protected Member Functions inherited from olb::GenericF< T, S > | |
GenericF (int targetDim, int sourceDim) | |
Protected Attributes | |
std::unique_ptr< BlockData< 3, T, BaseType > > | _blockDataStorage |
BlockData< 3, T, BaseType > & | _blockData |
Protected Attributes inherited from olb::BlockF3D< BaseType > | |
BlockStructureD< 3 > & | _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) | |
BlockDataF3D can store data of any BlockFunctor3D.
Definition at line 65 of file blockBaseF3D.h.
|
protected |
Definition at line 56 of file blockBaseF3D.hh.
olb::BlockDataF3D< T, BaseType >::BlockDataF3D | ( | BlockData< 3, T, BaseType > & | blockData | ) |
Constructor.
Definition at line 43 of file blockBaseF3D.hh.
olb::BlockDataF3D< T, BaseType >::BlockDataF3D | ( | BlockF3D< BaseType > & | f | ) |
to store functor data, constuctor creates _blockData with functor data
Definition at line 49 of file blockBaseF3D.hh.
BlockData< 3, T, BaseType > & olb::BlockDataF3D< T, BaseType >::getBlockData | ( | ) |
|
override |
access to _blockData via its get()
Definition at line 71 of file blockBaseF3D.hh.
|
protected |
Definition at line 70 of file blockBaseF3D.h.
|
protected |
Definition at line 69 of file blockBaseF3D.h.