OpenLB 1.7
|
#include <analyticalF.h>
Public Member Functions | |
template<typename G > | |
AnalyticalConcatenation (AnalyticalF< D, T, S > &f, G g, unsigned targetDim=1) | |
concatenate functor f and some lambda expression g. | |
AnalyticalConcatenation (AnalyticalF< D, T, S > &f, U(*g)(T)) | |
concatenate functor f and some function g. | |
template<typename wrapped_U > | |
AnalyticalConcatenation (AnalyticalF< D, T, S > &f, wrapped_U(*g)(T *), unsigned targetDim=1) | |
concatenate functor f and some function g. | |
template<typename wrapped_U > | |
AnalyticalConcatenation (AnalyticalF< D, T, S > &f, wrapped_U(*g)(const T *), unsigned targetDim=1) | |
concatenate functor f and some function g. | |
bool | operator() (U output[], const S x[]) override |
has to be implemented for 'every' derived class | |
![]() | |
AnalyticalF< D, U, S > & | operator- (AnalyticalF< D, U, S > &rhs) |
AnalyticalF< D, U, S > & | operator+ (AnalyticalF< D, U, S > &rhs) |
AnalyticalF< D, U, S > & | operator* (AnalyticalF< D, U, S > &rhs) |
AnalyticalF< D, U, S > & | operator/ (AnalyticalF< D, U, S > &rhs) |
![]() | |
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() (U output[]) |
wrapper that call the pure virtual operator() (T output[], const S input[]) from above | |
bool | operator() (U output[], S input0) |
bool | operator() (U output[], S input0, S input1) |
bool | operator() (U output[], S input0, S input1, S input2) |
bool | operator() (U output[], S input0, S input1, S input2, S input3) |
Protected Types | |
using | return_type_g = std::conditional_t<ReturnArray,U*,U> |
using | function_t |
Protected Attributes | |
AnalyticalF< D, T, S > & | _f |
function_t | _g |
Additional Inherited Members | |
![]() | |
using | identity_functor_type |
![]() | |
using | targetType |
using | sourceType |
![]() | |
std::shared_ptr< GenericF< U, S > > | _ptrCalcC |
memory management, frees resouces (calcClass) | |
![]() | |
static constexpr unsigned | dim |
![]() | |
AnalyticalF (int n) | |
![]() | |
GenericF (int targetDim, int sourceDim) | |
Definition at line 285 of file analyticalF.h.
|
protected |
Definition at line 288 of file analyticalF.h.
|
protected |
Definition at line 287 of file analyticalF.h.
|
inline |
concatenate functor f and some lambda expression g.
targetDim needs to be specified if g is vector (array)-valued
Definition at line 299 of file analyticalF.h.
|
inline |
concatenate functor f and some function g.
g maps value to value (no pointer) and is applied component-wise
Definition at line 306 of file analyticalF.h.
|
inline |
concatenate functor f and some function g.
targetDim needs to be specified if g is vector (array)-valued
Definition at line 317 of file analyticalF.h.
|
inline |
concatenate functor f and some function g.
targetDim needs to be specified if g is vector (array)-valued
Definition at line 329 of file analyticalF.h.
|
inlineoverridevirtual |
has to be implemented for 'every' derived class
Implements olb::GenericF< U, S >.
Definition at line 336 of file analyticalF.h.
References olb::GenericF< T, S >::getTargetDim().
|
protected |
Definition at line 291 of file analyticalF.h.
|
protected |
Definition at line 292 of file analyticalF.h.