WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_gaussian.h
Go to the documentation of this file.
1#ifndef wmicfunction_gaussian_h
2#define wmicfunction_gaussian_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 int _numDims;
54 real _standardDeviation;
55 std::vector<real> _average;
56 real _min;
57 real _max;
58};
59
62#endif // wmicfunction_gaussian_h
Base class for functions used in generating initial conditions.
Definition: wmicfunction_gaussian.h:19
~WmICFunction_Gaussian()
Destroy WmICFunction_Gaussian.
WmICFunction_Gaussian()
Create new WmICFunction_Gaussian.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Gaussian 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.
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
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