WARPXM v1.10.0
Loading...
Searching...
No Matches
plasma_switch.h
Go to the documentation of this file.
1#ifndef wmapplication_function_thirteen_moment_plasma_switch_h
2#define wmapplication_function_thirteen_moment_plasma_switch_h
3
4// WARPXM Includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace thirteen_moment
14{
29{
30public:
36
41 ~PlasmaSwitch() override;
42
47 void setup(const WxCryptSet& wxc) override;
48
54 const std::vector<int>& getOutputVariableIndexes(int flag) const override
55 {
56 return _output_fluid;
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_fluid;
73
74 std::vector<real> _center;
82
83private:
84 PlasmaSwitch& operator=(const PlasmaSwitch& var);
85 PlasmaSwitch(const PlasmaSwitch& var);
86};
87} // namespace thirteen_moment
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
Initialize the simplified 2D plasma switch problem for a single 5 moment fluid.
Definition: plasma_switch.h:29
real _pressure
Definition: plasma_switch.h:75
real _transition_width
Definition: plasma_switch.h:81
real _width_x_min
Definition: plasma_switch.h:79
real _width_y
Definition: plasma_switch.h:80
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 > _center
Definition: plasma_switch.h:74
void setup(const WxCryptSet &wxc) override
Setup.
real _width_x_max
Definition: plasma_switch.h:78
std::vector< int > _output_fluid
Definition: plasma_switch.h:72
real _density_max
Definition: plasma_switch.h:76
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: plasma_switch.h:54
real _density_min
Definition: plasma_switch.h:77
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