WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_shocktube_fluid5.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_SHOCKTUBE_FLUID5_H
2#define WMICFUNCTION_SHOCKTUBE_FLUID5_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 _P_l;
49 real _P_r;
50 real _gas_gamma;
51 real _transitionWidth;
52
53 std::vector<real> _direction;
54 std::vector<real> _center;
55};
56
57#endif // WMICFUNCTION_SHOCKTUBE_FLUID5_H
Definition: wmicfunction_shocktube_fluid5.h:12
WmICFunction_ShockTube_Fluid5()
Create new WmICFunction_ShockTube_Fluid5.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_ShockTube_Fluid5 object using supplied cryptset.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~WmICFunction_ShockTube_Fluid5()
Destroy WmICFunction_ShockTube_Fluid5.
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