WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_dai_woodward_shocktube_mhd.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_DAIWOODWARD_SHOCKTUBE_H
2#define WMICFUNCTION_DAIWOODWARD_SHOCKTUBE_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
12{
13public:
19
25
31 void setup(const WxCryptSet& wxc);
32
39 void applyFunction(const real* position, real* value) const;
40
41private:
42 real _rho_l;
43 real _rho_r;
44 real _vx_l;
45 real _vx_r;
46 real _vy_l;
47 real _vy_r;
48 real _vz_l;
49 real _vz_r;
50 real _Bx;
51 real _By_l;
52 real _By_r;
53 real _Bz_l;
54 real _Bz_r;
55 real _P_l;
56 real _P_r;
57 real _transitionWidth;
58
59 real _gas_gamma;
60 // real _skin_depth_param;
61
62 std::vector<real> _direction;
63 std::vector<real> _center;
64};
65
66#endif // WMICFUNCTION_DAIWOODWARD_SHOCKTUBE_H
Definition: wmicfunction_dai_woodward_shocktube_mhd.h:12
WmICFunction_DaiWoodward_ShockTube()
Create new WmICFunction_DaiWoodward_ShockTube.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~WmICFunction_DaiWoodward_ShockTube()
Destroy WmICFunction_DaiWoodward_ShockTube.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_DaiWoodward_ShockTube object using supplied cryptset.
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
#define real
Definition: wmoclunstructuredreconstruction.h:11