WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_setto.h
Go to the documentation of this file.
1#ifndef wmicfunction_setto_h
2#define wmicfunction_setto_h
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
19{
20public:
27
34
41 void setup(const WxCryptSet& wxc);
42
50 void applyFunction(const real* position, real* value) const;
51
52private:
53 WxAny _value;
54};
55
58#endif // wmicfunction_setto_h
Base class for functions used in generating initial conditions.
Definition: wmicfunction_setto.h:19
WmICFunction_SetTo()
Create new WmICFunction_SetTo.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_SetTo object using supplied cryptset.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~WmICFunction_SetTo()
Destroy WmICFunction_SetTo.
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
Class WxAny is based on the "any" class described in "Valued Conversion", Kevlin Henney,...
Definition: wxany.h:139
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
#define real
Definition: wmoclunstructuredreconstruction.h:11