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