WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_polynomial.h
Go to the documentation of this file.
1#ifndef WmICFunction_Polynomial_h
2#define WmICFunction_Polynomial_h
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
19{
20public:
26
32
38 void setup(const WxCryptSet& wxc);
39
46 void applyFunction(const real* position, real* value) const;
47
48private:
49 std::vector<real> _center;
50 std::vector<real> _direction;
51 real _normalization;
52 std::vector<real> _coeffs;
53};
54
57#endif // WmICFunction_Polynomial_h
Base class for functions used in generating initial conditions.
Definition: wmicfunction_polynomial.h:19
~WmICFunction_Polynomial()
Destroy WmICFunction_Polynomial.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
WmICFunction_Polynomial()
Create new WmICFunction_Polynomial.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Polynomial object using supplied cryptset.
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