WARPXM v1.10.0
Loading...
Searching...
No Matches
briowu_shocktube.h
Go to the documentation of this file.
1#ifndef wmapplication_function_mhd_briowu_shocktube_h
2#define wmapplication_function_mhd_briowu_shocktube_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace mhd
14{
15
17{
18public:
24
29 ~BrioWuShockTube() 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
78
80 // real _skin_depth_param;
81
82 std::vector<real> _direction;
83 std::vector<real> _center;
84
85private:
86 BrioWuShockTube& operator=(const BrioWuShockTube& var);
88};
89} // namespace mhd
90} // namespace functions
91} // namespace apps
92} // namespace wxm
93
94#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: briowu_shocktube.h:17
real _Bz_r
Definition: briowu_shocktube.h:74
real _vz_r
Definition: briowu_shocktube.h:69
real _P_r
Definition: briowu_shocktube.h:76
std::vector< real > _center
Definition: briowu_shocktube.h:83
real _vz_l
Definition: briowu_shocktube.h:68
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: briowu_shocktube.h:42
real _P_l
Definition: briowu_shocktube.h:75
real _rho_l
Definition: briowu_shocktube.h:62
real _By_l
Definition: briowu_shocktube.h:71
real _rho_r
Definition: briowu_shocktube.h:63
real _vy_l
Definition: briowu_shocktube.h:66
real _By_r
Definition: briowu_shocktube.h:72
real _gas_gamma
Definition: briowu_shocktube.h:79
real _vx_r
Definition: briowu_shocktube.h:65
real _vx_l
Definition: briowu_shocktube.h:64
real _vy_r
Definition: briowu_shocktube.h:67
std::vector< real > _direction
Definition: briowu_shocktube.h:82
std::vector< int > _output_fluid
Definition: briowu_shocktube.h:60
void setup(const WxCryptSet &wxc) override
Setup.
real _Bx
Definition: briowu_shocktube.h:70
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _Bz_l
Definition: briowu_shocktube.h:73
real _transitionWidth
Definition: briowu_shocktube.h:77
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