WARPXM v1.10.0
Loading...
Searching...
No Matches
plasma_switch.h
Go to the documentation of this file.
1#ifndef wmappliation_plasma_switch_five_moment_h
2#define wmappliation_plasma_switch_five_moment_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace five_moment
14{
15
32{
33public:
39
44 ~PlasmaSwitch() override;
45
50 void setup(const WxCryptSet& wxc) override;
51
57 const std::vector<int>& getOutputVariableIndexes(int flag) const override
58 {
59 return _output_fluid;
60 }
61
69 void evaluate_function(const real* q,
70 const real* aux,
71 const solverVariables_t* pSV,
72 real* result) const override;
73
74protected:
75 std::vector<int> _output_fluid;
76
77 std::vector<real> center;
85
86private:
87 PlasmaSwitch& operator=(const PlasmaSwitch& var);
88 PlasmaSwitch(const PlasmaSwitch& var);
89};
90} // namespace five_moment
91} // namespace functions
92} // namespace apps
93} // namespace wxm
94
95#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 simplified 2D plasma switch problem for a single 5 moment fluid.
Definition: plasma_switch.h:32
real gas_gamma
Definition: plasma_switch.h:80
std::vector< int > _output_fluid
Definition: plasma_switch.h:75
real width_y
Definition: plasma_switch.h:83
real width_x_max
Definition: plasma_switch.h:82
std::vector< real > center
Definition: plasma_switch.h:77
real rho_out
Definition: plasma_switch.h:78
real P_out
Definition: plasma_switch.h:79
real transition_width
Definition: plasma_switch.h:84
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real rho_in
Definition: plasma_switch.h:78
real P_in
Definition: plasma_switch.h:79
real width_x_min
Definition: plasma_switch.h:81
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: plasma_switch.h:57
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