WARPXM v1.10.0
Loading...
Searching...
No Matches
axis_5moment_gradients.h
Go to the documentation of this file.
1#ifndef WXM_APPS_5MOMENT_BC_AXIS_GRADIENTS_H
2#define WXM_APPS_5MOMENT_BC_AXIS_GRADIENTS_H
3
4// Wm includes
6
7// // IMHD includes
8// #include "apps/imhd/imhd.h"
9
10namespace wxm
11{
12namespace apps
13{
14namespace five_moment
15{
16namespace bc
17{
18
20{
21public:
23
25
26 void setup(const WxCryptSet& wxc) override;
27
28 const std::vector<int>& getInputVariableIndexes(int flag) const override
29 {
30 return _inputVariables;
31 }
32 const std::vector<int>& getOutputVariableIndexes(int flag) const override
33 {
34 return _outputVariables;
35 }
36
37 // redefinition of bc
38 void bc_q(const real* q_in,
39 const real* aux_in,
40 const real* aux_out,
41 const solverVariables_t* pFV,
42 real* grad_q_out) const override;
43
44 // void bc_gradient_q(const real* q_in, const real* grad_q_in, const
45 // solverVariables_t* pFV,
46 // real* grad_q_out) const override;
47
48protected:
50
51 // // int _closureScheme;
52 // real _pressureMin;
53 // real _densityMin;
54
55 std::vector<int> _inputVariables;
56 std::vector<int> _outputVariables;
57
58private:
61};
62
63} // namespace bc
64} // namespace five_moment
65} // namespace apps
66} // namespace wxm
67
68#endif // WXM_APPS_5MOMENT_BC_AXIS_GRADIENTS_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
Definition: axis_5moment_gradients.h:20
std::vector< int > _inputVariables
Definition: axis_5moment_gradients.h:55
void setup(const WxCryptSet &wxc) override
void bc_q(const real *q_in, const real *aux_in, const real *aux_out, const solverVariables_t *pFV, real *grad_q_out) const override
Boundary Condition Application which sets the boundary condition on ghost nodes.
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: axis_5moment_gradients.h:28
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: axis_5moment_gradients.h:32
real _gas_gamma
Definition: axis_5moment_gradients.h:49
std::vector< int > _outputVariables
Definition: axis_5moment_gradients.h:56
list apps
Definition: shock_tube.py:33
bc
Definition: advection2d_conservation.py:32
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