WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_briowu_shocktube.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_BRIOWU_SHOCKTUBE_H
2#define WMICFUNCTION_BRIOWU_SHOCKTUBE_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
12{
13public:
20
27
34 void setup(const WxCryptSet& wxc);
35
43 void applyFunction(const real* position, real* value) const;
44
45private:
46 real _rho_l;
47 real _rho_r;
48 real _vx_l;
49 real _vx_r;
50 real _vy_l;
51 real _vy_r;
52 real _vz_l;
53 real _vz_r;
54 real _Bx;
55 real _By_l;
56 real _By_r;
57 real _Bz_l;
58 real _Bz_r;
59 real _P_l;
60 real _P_r;
61 real _transitionWidth;
62
63 real _gas_gamma;
64 // real _skin_depth_param;
65
66 std::vector<real> _direction;
67 std::vector<real> _center;
68};
69
70#endif // WMICFUNCTION_BRIOWU_SHOCKTUBE_H
Definition: wmicfunction_briowu_shocktube.h:12
void setup(const WxCryptSet &wxc)
Setup WmICFunction_BrioWu_ShockTube object using supplied cryptset.
~WmICFunction_BrioWu_ShockTube()
Destroy WmICFunction_BrioWu_ShockTube.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
WmICFunction_BrioWu_ShockTube()
Create new WmICFunction_BrioWu_ShockTube.
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