15#include "warpxm/warpxm_config.h"
77 template<
typename T>
void apply(
const real position[3], T* value)
const
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
const std::string & getName() const
Get name of this function.
Definition: wmicfunction.h:54
void apply(const real position[3], T *value) const
Evaluate the function at a position and return the result through a pointer position and value must b...
Definition: wmicfunction.h:77
std::string _name
Definition: wmicfunction.h:97
virtual ~WmICFunction()
Destroy WmICFunction.
int getNumArguments() const
Get number of arguments returned by this icFunction.
Definition: wmicfunction.h:64
int _numArgs
Definition: wmicfunction.h:98
virtual void applyFunction(const real *position, real *value) const =0
This is the currently apply function call - recasts to real.
real * _rvalues
Definition: wmicfunction.h:99
WmICFunction()
Create new WmICFunction.
virtual void setup(const WxCryptSet &wxc)
Setup WmICFunction object using supplied cryptset.
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