WARPXM v1.10.0
Loading...
Searching...
No Matches
1d1v_arbitrary_shocktube.h
Go to the documentation of this file.
1#ifndef KINETICS1D1V_ARBITRARY_SHOCKTUBE_H
2#define KINETICS1D1V_ARBITRARY_SHOCKTUBE_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace kinetics
16{
17
35{
36public:
42
48
54 void setup(const WxCryptSet& wxc);
55
62 void applyFunction(const real* position, real* value) const;
63
64private:
65 // real _gamma;
66 real _mass;
67 real _xc; // location of shock in x coordinate
68
69 real _density_left;
70 real _velocity_x_left;
71 real _pressure_left;
72 real _density_right;
73 real _velocity_x_right;
74 real _pressure_right;
75};
76
77} // namespace kinetics
78} // namespace functions
79} // namespace wxm
80
81#endif // KINETICS1D1V_ARBITRARY_SHOCKTUBE_H
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
Double Rarefaction 1D Riemann Problem See: Buffard and Clain -> Monoslope and multislope MUSCL method...
Definition: 1d1v_arbitrary_shocktube.h:35
void setup(const WxCryptSet &wxc)
Setup gem 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.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11