OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
olb::BlockF3D< T > Class Template Reference

represents all functors that operate on a cuboid in general, mother class of BlockLatticeF, .. More...

#include <blockBaseF3D.h>

+ Inheritance diagram for olb::BlockF3D< T >:
+ Collaboration diagram for olb::BlockF3D< T >:

Public Member Functions

 ~BlockF3D () override
 virtual destructor for defined behaviour
 
virtual BlockStructureD< 3 > & getBlockStructure () const
 
BlockF3D< T > & operator- (BlockF3D< T > &rhs)
 
BlockF3D< T > & operator+ (BlockF3D< T > &rhs)
 
BlockF3D< T > & operator* (BlockF3D< T > &rhs)
 
BlockF3D< T > & operator/ (BlockF3D< T > &rhs)
 
- Public Member Functions inherited from olb::GenericF< T, 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
 
virtual bool operator() (T output[], const int 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[], int input0)
 
bool operator() (T output[], int input0, int input1)
 
bool operator() (T output[], int input0, int input1, int input2)
 
bool operator() (T output[], int input0, int input1, int input2, int input3)
 

Protected Member Functions

 BlockF3D (BlockStructureD< 3 > &blockStructure, int targetDim)
 
- Protected Member Functions inherited from olb::GenericF< T, int >
 GenericF (int targetDim, int sourceDim)
 

Protected Attributes

BlockStructureD< 3 > & _blockStructure
 

Additional Inherited Members

- Public Types inherited from olb::GenericF< T, int >
using targetType
 
using sourceType
 
- Public Attributes inherited from olb::GenericF< T, int >
std::shared_ptr< GenericF< T, int > > _ptrCalcC
 memory management, frees resouces (calcClass)
 

Detailed Description

template<typename T>
class olb::BlockF3D< T >

represents all functors that operate on a cuboid in general, mother class of BlockLatticeF, ..

Definition at line 46 of file blockBaseF3D.h.

Constructor & Destructor Documentation

◆ BlockF3D()

template<typename T >
olb::BlockF3D< T >::BlockF3D ( BlockStructureD< 3 > & blockStructure,
int targetDim )
protected

Definition at line 33 of file blockBaseF3D.hh.

34 : GenericF<T,int>(targetDim,3), _blockStructure(blockStructure) { }
BlockStructureD< 3 > & _blockStructure

◆ ~BlockF3D()

template<typename T >
olb::BlockF3D< T >::~BlockF3D ( )
inlineoverride

virtual destructor for defined behaviour

Definition at line 52 of file blockBaseF3D.h.

52{};

Member Function Documentation

◆ getBlockStructure()

template<typename T >
BlockStructureD< 3 > & olb::BlockF3D< T >::getBlockStructure ( ) const
virtual

Definition at line 37 of file blockBaseF3D.hh.

38{
39 return _blockStructure;
40}
+ Here is the caller graph for this function:

◆ operator*()

template<typename T >
BlockF3D< T > & olb::BlockF3D< T >::operator* ( BlockF3D< T > & rhs)

Definition at line 138 of file blockCalcF3D.hh.

139{
140 auto tmp = std::make_shared< BlockCalcMultiplication3D<T> >(*this,rhs);
141 this->_ptrCalcC = tmp;
142 return *tmp;
143}
std::shared_ptr< GenericF< T, int > > _ptrCalcC
memory management, frees resouces (calcClass)
Definition genericF.h:71

◆ operator+()

template<typename T >
BlockF3D< T > & olb::BlockF3D< T >::operator+ ( BlockF3D< T > & rhs)

Definition at line 122 of file blockCalcF3D.hh.

123{
124 auto tmp = std::make_shared< BlockCalcPlus3D<T> >(*this,rhs);
125 this->_ptrCalcC = tmp;
126 return *tmp;
127}

◆ operator-()

template<typename T >
BlockF3D< T > & olb::BlockF3D< T >::operator- ( BlockF3D< T > & rhs)

Definition at line 130 of file blockCalcF3D.hh.

131{
132 auto tmp = std::make_shared< BlockCalcMinus3D<T> >(*this,rhs);
133 this->_ptrCalcC = tmp;
134 return *tmp;
135}

◆ operator/()

template<typename T >
BlockF3D< T > & olb::BlockF3D< T >::operator/ ( BlockF3D< T > & rhs)

Definition at line 146 of file blockCalcF3D.hh.

147{
148 auto tmp = std::make_shared< BlockCalcDivision3D<T> >(*this,rhs);
149 this->_ptrCalcC = tmp;
150 return *tmp;
151}

Member Data Documentation

◆ _blockStructure

template<typename T >
BlockStructureD<3>& olb::BlockF3D< T >::_blockStructure
protected

Definition at line 49 of file blockBaseF3D.h.


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