OpenLB 1.7
|
Converts super functors to analytical functors. More...
#include <interpolationF3D.h>
Public Member Functions | |
AnalyticalFfromSuperF3D (SuperF3D< T, W > &f, bool communicateToAll=false, bool communicateOverlap=true) | |
bool | operator() (W output[], const T physC[]) override |
int | getBlockFSize () const |
AnalyticalFfromBlockF3D< T, W > & | getBlockF (int iCloc) |
Public Member Functions inherited from olb::AnalyticalF< D, T, S > | |
AnalyticalF< D, T, S > & | operator- (AnalyticalF< D, T, S > &rhs) |
AnalyticalF< D, T, S > & | operator+ (AnalyticalF< D, T, S > &rhs) |
AnalyticalF< D, T, S > & | operator* (AnalyticalF< D, T, S > &rhs) |
AnalyticalF< D, T, S > & | operator/ (AnalyticalF< D, T, S > &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 Attributes | |
const bool | _communicateToAll |
const bool | _communicateOverlap |
SuperF3D< T, W > & | _f |
CuboidGeometry3D< T > & | _cuboidGeometry |
std::vector< std::unique_ptr< AnalyticalFfromBlockF3D< T, W > > > | _blockF |
Additional Inherited Members | |
Public Types inherited from olb::AnalyticalF< D, T, S > | |
using | identity_functor_type = AnalyticalIdentity<D,T,S> |
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) | |
Static Public Attributes inherited from olb::AnalyticalF< D, T, S > | |
static constexpr unsigned | dim = D |
Protected Member Functions inherited from olb::AnalyticalF< D, T, S > | |
AnalyticalF (int n) | |
Protected Member Functions inherited from olb::GenericF< T, S > | |
GenericF (int targetDim, int sourceDim) | |
Converts super functors to analytical functors.
Definition at line 64 of file interpolationF3D.h.
olb::AnalyticalFfromSuperF3D< T, W >::AnalyticalFfromSuperF3D | ( | SuperF3D< T, W > & | f, |
bool | communicateToAll = false, | ||
bool | communicateOverlap = true ) |
Definition at line 294 of file interpolationF3D.hh.
References olb::AnalyticalFfromSuperF3D< T, W >::_blockF, olb::AnalyticalFfromSuperF3D< T, W >::_cuboidGeometry, olb::AnalyticalFfromSuperF3D< T, W >::_f, olb::SuperF3D< T, W >::getBlockF(), olb::SuperStructure< T, D >::getLoadBalancer(), olb::GenericF< T, S >::getName(), olb::SuperF3D< T, W >::getSuperStructure(), olb::LoadBalancer< T >::glob(), and olb::LoadBalancer< T >::size().
AnalyticalFfromBlockF3D< T, W > & olb::AnalyticalFfromSuperF3D< T, W >::getBlockF | ( | int | iCloc | ) |
Definition at line 379 of file interpolationF3D.hh.
References OLB_ASSERT.
int olb::AnalyticalFfromSuperF3D< T, W >::getBlockFSize | ( | ) | const |
Definition at line 371 of file interpolationF3D.hh.
References OLB_ASSERT.
|
override |
Definition at line 314 of file interpolationF3D.hh.
References olb::singleton::mpi(), olb::singleton::MpiManager::reduceAndBcast(), and olb::LoadBalancer< T >::size().
|
protected |
Definition at line 72 of file interpolationF3D.h.
|
protected |
Definition at line 67 of file interpolationF3D.h.
|
protected |
Definition at line 66 of file interpolationF3D.h.
|
protected |
Definition at line 70 of file interpolationF3D.h.
|
protected |
Definition at line 69 of file interpolationF3D.h.