WARPXM v1.10.0
Loading...
Searching...
No Matches
euler1d_arbitrary_shocktube.h
Go to the documentation of this file.
1#ifndef EULER1D_ARBITRARY_SHOCKUBE_H
2#define EULER1D_ARBITRARY_SHOCKUBE_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace five_moment
16{
17
25{
26public:
33
40
47 void setup(const WxCryptSet& wxc);
48
56 void applyFunction(const real* position, real* value) const;
57
58private:
59 real _gamma;
60 real _xc;
61
62 real _density_left;
63 real _velocity_x_left;
64 real _pressure_left;
65 real _density_right;
66 real _velocity_x_right;
67 real _pressure_right;
68};
69
70} // namespace five_moment
71} // namespace functions
72} // namespace wxm
73
74#endif // EULER1D_ARBITRARY_SHOCKUBE_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
Arbitrary 1D Shocktube given: [density_left, x_velocity_left, pressure_left], [density_right,...
Definition: euler1d_arbitrary_shocktube.h:25
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
void setup(const WxCryptSet &wxc)
Setup gem object using supplied cryptset.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11