WARPXM v1.10.0
Loading...
Searching...
No Matches
brio_wu_shocktube.h
Go to the documentation of this file.
1#ifndef BRIO_WU_SHOCKTUBE_13MOMENT_APP_H
2#define BRIO_WU_SHOCKTUBE_13MOMENT_APP_H
3
4// WARPXM Includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace thirteen_moment
14{
15class BrioWu : public WmApplication
16{
17public:
23
28 ~BrioWu() override;
29
34 void setup(const WxCryptSet& wxc) override;
35
41 const std::vector<int>& getOutputVariableIndexes(int flag) const override
42 {
43 return _output_variables;
44 }
45
53 void evaluate_function(const real* q,
54 const real* aux,
55 const solverVariables_t* pSV,
56 real* result) const override;
57
58protected:
59 std::vector<int> _output_variables;
60 std::vector<real> _masses;
62
63
64private:
65 BrioWu& operator=(const BrioWu& var);
66 BrioWu(const BrioWu& var);
67
68};
69} // namespace thirteen_moment
70} // namespace functions
71} // namespace apps
72} // namespace wxm
73
74#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
Definition: brio_wu_shocktube.h:16
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
std::vector< real > _masses
Definition: brio_wu_shocktube.h:60
real _transition_width
Definition: brio_wu_shocktube.h:61
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > _output_variables
Definition: brio_wu_shocktube.h:59
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: brio_wu_shocktube.h:41
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