49template <
typename T,
typename S>
54 _n(targetDim), _m(sourceDim) { };
79 std::string
const&
getName()
const;
88 bool operator() (T output[], S input0, S input1);
89 bool operator() (T output[], S input0, S input1, S input2);
90 bool operator() (T output[], S input0, S input1, S input2, S input3);
GenericF is a base class, that can represent continuous as well as discrete functions.
int getTargetDim() const
read only access to member variable _n
virtual ~GenericF()=default
int getSourceDim() const
read only access to member variable _m
std::shared_ptr< GenericF< T, S > > _ptrCalcC
memory management, frees resouces (calcClass)
std::string & getName()
read and write access to name
GenericF(int targetDim, int sourceDim)
virtual bool operator()(T output[], const S input[])=0
has to be implemented for 'every' derived class
Top level namespace for all of OpenLB.