WARPXM v1.10.0
Loading...
Searching...
No Matches
plasma_switch_fields.h
Go to the documentation of this file.
1#ifndef GEM_FIELD_APP_H
2#define GEM_FIELD_APP_H
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace maxwell
14{
29{
30public:
36
42
47 void setup(const WxCryptSet& wxc) override;
48
54 const std::vector<int>& getOutputVariableIndexes(int flag) const override
55 {
56 return _output_fields;
57 }
58
66 void evaluate_function(const real* q,
67 const real* aux,
68 const solverVariables_t* pSV,
69 real* result) const override;
70
71protected:
72 std::vector<int> _output_fields;
73
74 std::vector<real> _center;
80
81private:
82 PlasmaSwitchFields& operator=(const PlasmaSwitchFields& var);
84};
85} // namespace maxwell
86} // namespace functions
87} // namespace apps
88} // namespace wxm
89
90#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
Initialize the EM fields for the simplified 2D plasma switch problem with a normalized Poynting vecto...
Definition: plasma_switch_fields.h:29
real _Bz_min
Definition: plasma_switch_fields.h:77
real _energy_conversion_factor
Definition: plasma_switch_fields.h:75
std::vector< real > _center
Definition: plasma_switch_fields.h:74
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > _output_fields
Definition: plasma_switch_fields.h:72
real _Bz_max
Definition: plasma_switch_fields.h:76
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: plasma_switch_fields.h:54
real _pulse_width
Definition: plasma_switch_fields.h:78
real _transition_width
Definition: plasma_switch_fields.h:79
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