OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::IndicMinus1D< S > Class Template Reference

subtraction functor acts as without More...

#include <indicCalc2D.h>

+ Inheritance diagram for olb::IndicMinus1D< S >:
+ Collaboration diagram for olb::IndicMinus1D< S >:

Public Member Functions

 IndicMinus1D (IndicatorF1D< S > &f, IndicatorF1D< S > &g)
 
bool operator() (bool output[], const S input[]) override
 has to be implemented for 'every' derived class
 
- Public Member Functions inherited from olb::IndicCalc1D< S >
 IndicCalc1D (IndicatorF1D< S > &f, IndicatorF1D< S > &g)
 
- Public Member Functions inherited from olb::IndicatorF1D< S >
virtual Vector< S, 1 > & getMin ()
 
virtual Vector< S, 1 > & getMax ()
 
IndicatorF1D< S > & operator+ (IndicatorF1D< S > &rhs)
 
IndicatorF1D< S > & operator- (IndicatorF1D< S > &rhs)
 
IndicatorF1D< S > & operator* (IndicatorF1D< S > &rhs)
 
virtual bool operator() (const S input[])
 Indicator specific function operator overload.
 
- Public Member Functions inherited from olb::GenericF< bool, 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
 
bool operator() (bool output[])
 wrapper that call the pure virtual operator() (T output[], const S input[]) from above
 
bool operator() (bool output[], S input0)
 
bool operator() (bool output[], S input0, S input1)
 
bool operator() (bool output[], S input0, S input1, S input2)
 
bool operator() (bool output[], S input0, S input1, S input2, S input3)
 

Additional Inherited Members

- Public Types inherited from olb::GenericF< bool, S >
using targetType
 
using sourceType
 
- Public Attributes inherited from olb::GenericF< bool, S >
std::shared_ptr< GenericF< bool, S > > _ptrCalcC
 memory management, frees resouces (calcClass)
 
- Protected Member Functions inherited from olb::IndicatorF1D< S >
 IndicatorF1D ()
 
- Protected Member Functions inherited from olb::GenericF< bool, S >
 GenericF (int targetDim, int sourceDim)
 
- Protected Attributes inherited from olb::IndicCalc1D< S >
IndicatorF1D< S > & _f
 
IndicatorF1D< S > & _g
 
- Protected Attributes inherited from olb::IndicatorF1D< S >
Vector< S, 1 > _myMin
 
Vector< S, 1 > _myMax
 

Detailed Description

template<typename S>
class olb::IndicMinus1D< S >

subtraction functor acts as without

Definition at line 63 of file indicCalc2D.h.

Constructor & Destructor Documentation

◆ IndicMinus1D()

template<typename S >
olb::IndicMinus1D< S >::IndicMinus1D ( IndicatorF1D< S > & f,
IndicatorF1D< S > & g )

Definition at line 62 of file indicCalc2D.hh.

63 : IndicCalc1D<S>(f, g)
64{}

Member Function Documentation

◆ operator()()

template<typename S >
bool olb::IndicMinus1D< S >::operator() ( bool output[],
const S input[] )
overridevirtual

has to be implemented for 'every' derived class

Implements olb::GenericF< bool, S >.

Definition at line 68 of file indicCalc2D.hh.

69{
70 this->_f(output, input);
71 bool tmp;
72 this->_g(&tmp, input);
73 output[0] &= !tmp;
74 return true;
75}
IndicatorF1D< S > & _f
Definition indicCalc2D.h:46
IndicatorF1D< S > & _g
Definition indicCalc2D.h:47

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