WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_TE_TM_mode.h
Go to the documentation of this file.
1#ifndef WmICFunction_TE_TM_Mode_h
2#define WmICFunction_TE_TM_Mode_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 std::vector<real> _TM_amp;
54 std::vector<real> _TE_amp;
55 // std::vector<real> _sine_amp;
56 // std::vector<real> _sine_freq;
57 // std::vector<real> _sine_phase;
58 // std::vector<real> _cosine_amp;
59 // std::vector<real> _cosine_freq;
60 // std::vector<real> _cosine_phase;
61
62 std::vector<real> _direction;
63 // std::vector<real> _center;
64
65 real _base;
66 real _mode;
67 real _radius;
68 real _TM_root;
69 real _TE_root;
70};
71
74#endif // WmICFunction_TE_TM_Mode_h
Base class for functions used in generating initial conditions.
Definition: wmicfunction_TE_TM_mode.h:19
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_TE_TM_Mode object using supplied cryptset.
WmICFunction_TE_TM_Mode()
Create new WmICFunction_TE_TM_Mode.
~WmICFunction_TE_TM_Mode()
Destroy WmICFunction_TE_TM_Mode.
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