WARPXM v1.10.0
Loading...
Searching...
No Matches
gem_challenge.h
Go to the documentation of this file.
1#ifndef wmapplication_gem_mhd_h
2#define wmapplication_gem_mhd_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace mhd
14{
15
16class GEM : public WmApplication
17{
18public:
23 GEM();
24
29 ~GEM() override;
30
35 void setup(const WxCryptSet& wxc) override;
36
42 const std::vector<int>& getOutputVariableIndexes(int flag) const override
43 {
44 return _output_fluid;
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_fluid;
61
67 // real _velocity;
73
74private:
75 GEM& operator=(const GEM& var);
76 GEM(const GEM& var);
77};
78} // namespace mhd
79} // namespace functions
80} // namespace apps
81} // namespace wxm
82
83#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
Definition: gem_challenge.h:17
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: gem_challenge.h:42
real _b0
Definition: gem_challenge.h:69
real _pert
Definition: gem_challenge.h:72
real _lx
Definition: gem_challenge.h:70
real _mass
Definition: gem_challenge.h:64
real _n0
Definition: gem_challenge.h:65
real _ly
Definition: gem_challenge.h:71
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.
~GEM() override
Destructor.
real _sheet_width
Definition: gem_challenge.h:62
real _gamma
Definition: gem_challenge.h:63
std::vector< int > _output_fluid
Definition: gem_challenge.h:60
real _nInf
Definition: gem_challenge.h:66
real _temperature
Definition: gem_challenge.h:68
list apps
Definition: shock_tube.py:33
warpy mhd
Definition: mhd_shock.py:32
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