WARPXM v1.10.0
Loading...
Searching...
No Matches
orszag_tang_mhd.h
Go to the documentation of this file.
1#ifndef wmapplication_function_mhd_orszag_tang_h
2#define wmapplication_function_mhd_orszag_tang_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace mhd
14{
20{
21public:
27
32 ~OrszagTang() override;
33
38 void setup(const WxCryptSet& wxc) override;
39
45 const std::vector<int>& getOutputVariableIndexes(int flag) const override
46 {
47 return _output_fluid;
48 }
49
57 void evaluate_function(const real* q,
58 const real* aux,
59 const solverVariables_t* pSV,
60 real* result) const override;
61
62protected:
63 std::vector<int> _output_fluid;
64
69
70 /* real _transitionWidth; */
71
75
76private:
77 OrszagTang& operator=(const OrszagTang& var);
78 OrszagTang(const OrszagTang& var);
79};
80} // namespace mhd
81} // namespace functions
82} // namespace apps
83} // namespace wxm
84
85#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
Orszag-Tang Problem setup for MHD See: http://www.csun.edu/~jb715473/examples/mhd2d....
Definition: orszag_tang_mhd.h:20
real _gas_gamma
Definition: orszag_tang_mhd.h:72
real _gyro_param
Definition: orszag_tang_mhd.h:73
std::vector< int > _output_fluid
Definition: orszag_tang_mhd.h:63
real _vz
Definition: orszag_tang_mhd.h:67
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: orszag_tang_mhd.h:45
real _Bz
Definition: orszag_tang_mhd.h:68
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _rho
Definition: orszag_tang_mhd.h:65
real _P
Definition: orszag_tang_mhd.h:66
real _skin_depth_param
Definition: orszag_tang_mhd.h:74
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