OpenLB 1.7
|
Block level functor that returns the Lp norm over omega of the euklid norm of the input block functor. More...
#include <blockLpNorm3D.h>
Public Member Functions | |
BlockLpNorm3D (BlockF3D< W > &f, BlockIndicatorF3D< T > &indicatorF) | |
bool | operator() (W output[], const int input[]) override |
Public Member Functions inherited from olb::BlockF3D< W > | |
~BlockF3D () override | |
virtual destructor for defined behaviour | |
virtual BlockStructureD< 3 > & | getBlockStructure () const |
BlockF3D< W > & | operator- (BlockF3D< W > &rhs) |
BlockF3D< W > & | operator+ (BlockF3D< W > &rhs) |
BlockF3D< W > & | operator* (BlockF3D< W > &rhs) |
BlockF3D< W > & | operator/ (BlockF3D< W > &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 | |
BlockF3D< W > & | _f |
BlockIndicatorF3D< T > & | _indicatorF |
Protected Attributes inherited from olb::BlockF3D< W > | |
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) | |
Protected Member Functions inherited from olb::BlockF3D< W > | |
BlockF3D (BlockStructureD< 3 > &blockStructure, int targetDim) | |
Protected Member Functions inherited from olb::GenericF< T, S > | |
GenericF (int targetDim, int sourceDim) | |
Block level functor that returns the Lp norm over omega of the euklid norm of the input block functor.
Definition at line 35 of file blockLpNorm3D.h.
olb::BlockLpNorm3D< T, W, P >::BlockLpNorm3D | ( | BlockF3D< W > & | f, |
BlockIndicatorF3D< T > & | indicatorF ) |
f | data functor |
indicatorF | indicator functor describing the subset to be integrated |
Definition at line 35 of file blockLpNorm3D.hh.
References olb::BlockLpNorm3D< T, W, P >::_f, olb::BlockLpNorm3D< T, W, P >::_indicatorF, olb::GenericF< T, S >::getName(), olb::GenericF< T, S >::getSourceDim(), and OLB_ASSERT.
|
override |
Definition at line 48 of file blockLpNorm3D.hh.
References olb::LpNormImpl< T, W, P >::enclose(), and olb::util::pow().
|
protected |
Definition at line 37 of file blockLpNorm3D.h.
|
protected |
Definition at line 38 of file blockLpNorm3D.h.