![]() |
OpenLB 1.8.1
|
BlockDataF2D can store data of any BlockFunctor2D. More...
#include <blockBaseF2D.h>
Inheritance diagram for olb::BlockDataF2D< T, BaseType >:
Collaboration diagram for olb::BlockDataF2D< T, BaseType >: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< BaseType, int > | |
| 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 | |
| bool | operator() (BaseType output[]) |
| wrapper that call the pure virtual operator() (T output[], const S input[]) from above | |
| bool | operator() (BaseType output[], int input0) |
| bool | operator() (BaseType output[], int input0, int input1) |
| bool | operator() (BaseType output[], int input0, int input1, int input2) |
| bool | operator() (BaseType output[], int input0, int input1, int input2, int 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< BaseType, int > | |
| 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< BaseType, int > | |
| using | targetType |
| using | sourceType |
Public Attributes inherited from olb::GenericF< BaseType, int > | |
| std::shared_ptr< GenericF< BaseType, int > > | _ptrCalcC |
| memory management, frees resouces (calcClass) | |
BlockDataF2D can store data of any BlockFunctor2D.
|
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 | ( | ) |
|
overridevirtual |
access to _blockData via its get()
Implements olb::GenericF< BaseType, int >.
Definition at line 92 of file blockBaseF2D.hh.
|
protected |
Definition at line 71 of file blockBaseF2D.h.
|
protected |
Definition at line 72 of file blockBaseF2D.h.