WARPXM v1.10.0
Loading...
Searching...
No Matches
euler1d_arbitrary_shocktube.h
Go to the documentation of this file.
1#ifndef EULER1D_ARBITRARY_SHOCKUBE_APP_H
2#define EULER1D_ARBITRARY_SHOCKUBE_APP_H
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace five_moment
14{
15
22{
23public:
29
35
40 void setup(const WxCryptSet& wxc) override;
41
47 const std::vector<int>& getOutputVariableIndexes(int flag) const override
48 {
49 return _output_fluid;
50 }
51
59 void evaluate_function(const real* q,
60 const real* aux,
61 const solverVariables_t* pSV,
62 real* result) const override;
63
64protected:
65 std::vector<int> _output_fluid;
66
69
76
78
79private:
82};
83} // namespace five_moment
84} // namespace functions
85} // namespace apps
86} // namespace wxm
87
88#endif
Base Class for physics applications.
Definition: wmapplication.h:93
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Euler Arbitrary Shocktube Function.
Definition: euler1d_arbitrary_shocktube.h:22
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _pressure_left
Definition: euler1d_arbitrary_shocktube.h:72
real _velocity_x_right
Definition: euler1d_arbitrary_shocktube.h:74
real _transition_width
Definition: euler1d_arbitrary_shocktube.h:77
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: euler1d_arbitrary_shocktube.h:47
real _xc
Definition: euler1d_arbitrary_shocktube.h:68
real _pressure_right
Definition: euler1d_arbitrary_shocktube.h:75
real _density_right
Definition: euler1d_arbitrary_shocktube.h:73
real _velocity_x_left
Definition: euler1d_arbitrary_shocktube.h:71
real _gamma
Definition: euler1d_arbitrary_shocktube.h:67
std::vector< int > _output_fluid
Definition: euler1d_arbitrary_shocktube.h:65
real _density_left
Definition: euler1d_arbitrary_shocktube.h:70
void setup(const WxCryptSet &wxc) override
Setup.
list apps
Definition: shock_tube.py:33
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11