WARPXM v1.10.0
Loading...
Searching...
No Matches
1d1v_double_rarefaction.h
Go to the documentation of this file.
1#ifndef wmapplication_kinetics1d1v_double_rarefaction_h
2#define wmapplication_kinetics1d1v_double_rarefaction_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace kinetics
14{
15
33{
34public:
40
46
51 void setup(const WxCryptSet& wxc) override;
52
58 const std::vector<int>& getOutputVariableIndexes(int flag) const override
59 {
60 return _distribution;
61 }
62
70 void evaluate_function(const real* q,
71 const real* aux,
72 const solverVariables_t* pSV,
73 real* result) const override;
74
75protected:
76 std::vector<int> _distribution; // output variable
77
79 real _xc; // location of shock in x coordinate
80
81private:
84};
85
86} // namespace kinetics
87} // namespace functions
88} // namespace apps
89} // namespace wxm
90
91#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
Double Rarefaction 1D Riemann Problem See: Buffard and Clain -> Monoslope and multislope MUSCL method...
Definition: 1d1v_double_rarefaction.h:33
real _xc
Definition: 1d1v_double_rarefaction.h:79
std::vector< int > _distribution
Definition: 1d1v_double_rarefaction.h:76
real _mass
Definition: 1d1v_double_rarefaction.h:78
void setup(const WxCryptSet &wxc) override
Setup.
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: 1d1v_double_rarefaction.h:58
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
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