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