WARPXM v1.10.0
Loading...
Searching...
No Matches
5moment_to_kinetic.h
Go to the documentation of this file.
1#ifndef WXM_APPS_TWOFLUID_TO_KINETIC_H
2#define WXM_APPS_TWOFLUID_TO_KINETIC_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace five_moment
12{
13
20{
21public:
23
25
26 void setup(const WxCryptSet& wxc) override;
27
28 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
29 {
30 return _aux_variables;
31 }
32
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35
36 return _output_variables;
37 }
38
39 void bc_q_kinetic(const real* q_in,
40 const real* aux_in,
41 const solverVariables_t* pFV,
42 real* q_out) const override;
43
44 void evaluate_function(const real* q,
45 const real* aux,
46 const solverVariables_t* pSV,
47 real* result) const override;
48
49protected:
52
53 std::vector<int> _aux_variables; // fluid variables on physical space are aux
54 std::vector<int> _output_variables;
55};
56
57} // namespace five_moment
58} // namespace apps
59} // namespace wxm
60
61#endif // WXM_APPS_TWOFLUID_TO_KINETIC_H
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
5-Moment to Kinetic Boundary Condition App
Definition: 5moment_to_kinetic.h:20
real _gamma
Definition: 5moment_to_kinetic.h:51
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: 5moment_to_kinetic.h:33
void setup(const WxCryptSet &wxc) override
real _mass
Definition: 5moment_to_kinetic.h:50
std::vector< int > _output_variables
Definition: 5moment_to_kinetic.h:54
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: 5moment_to_kinetic.h:28
std::vector< int > _aux_variables
Definition: 5moment_to_kinetic.h:53
void bc_q_kinetic(const real *q_in, const real *aux_in, const solverVariables_t *pFV, real *q_out) const override
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