WARPXM v1.10.0
Loading...
Searching...
No Matches
TE_TM_mode.h
Go to the documentation of this file.
1#ifndef wmapplication_function_arbitrary_TE_TM_Mode_h
2#define wmapplication_function_arbitrary_TE_TM_Mode_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace arbitrary
14{
15
17{
18public:
24
29 ~TE_TM_Mode() override;
30
35 void setup(const WxCryptSet& wxc) override;
36
42 const std::vector<int>& getOutputVariableIndexes(int flag) const override
43 {
44 return _output_variables;
45 }
46
54 void evaluate_function(const real* q,
55 const real* aux,
56 const solverVariables_t* pSV,
57 real* result) const override;
58
59protected:
60 std::vector<int> _output_variables;
61
62 // Number of arguments that this class is designed to set
64
65 std::vector<real> _TM_amp;
66 std::vector<real> _TE_amp;
67 // std::vector<real> _sine_amp;
68 // std::vector<real> _sine_freq;
69 // std::vector<real> _sine_phase;
70 // std::vector<real> _cosine_amp;
71 // std::vector<real> _cosine_freq;
72 // std::vector<real> _cosine_phase;
73
74 std::vector<real> _direction;
75 // std::vector<real> _center;
76
82
83private:
84 TE_TM_Mode& operator=(const TE_TM_Mode& var);
85 TE_TM_Mode(const TE_TM_Mode& var);
86};
87} // namespace arbitrary
88} // namespace functions
89} // namespace apps
90} // namespace wxm
91
92#endif
Base Class for physics applications.
Definition: wmapplication.h:93
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
real _TM_root
Definition: TE_TM_mode.h:80
real _radius
Definition: TE_TM_mode.h:79
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
std::vector< real > _TM_amp
Definition: TE_TM_mode.h:65
real _base
Definition: TE_TM_mode.h:77
real _TE_root
Definition: TE_TM_mode.h:81
int _num_args
Definition: TE_TM_mode.h:63
real _mode
Definition: TE_TM_mode.h:78
std::vector< int > _output_variables
Definition: TE_TM_mode.h:60
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: TE_TM_mode.h:42
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< real > _TE_amp
Definition: TE_TM_mode.h:66
std::vector< real > _direction
Definition: TE_TM_mode.h:74
list apps
Definition: shock_tube.py:33
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11