WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_bandpass.h
Go to the documentation of this file.
1#ifndef wmicfunction_bandpass_h
2#define wmicfunction_bandpass_h
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
19{
20public:
26
33
40 void setup(const WxCryptSet& wxc);
41
49 void applyFunction(const real* position, real* value) const;
50
51private:
52 std::vector<real> _center;
53 std::vector<real> _width;
54
55 real _insideValue;
56 real _outsideValue;
57};
58
61#endif // wmicfunction_bandpass_h
Base class for functions used in generating initial conditions.
Definition: wmicfunction_bandpass.h:19
~WmICFunction_Bandpass()
Destroy WmICFunction_Bandpass.
WmICFunction_Bandpass()
Create new WmICFunction_Bandpass.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Bandpass 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