WARPXM v1.10.0
Loading...
Searching...
No Matches
navier_stokes.h
Go to the documentation of this file.
1#ifndef WXM_APPS_5MOMENT_NAVIERSTOKES_H
2#define WXM_APPS_5MOMENT_NAVIERSTOKES_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace five_moment
12{
13
15{
16public:
18
19 ~navier_stokes_t() override;
20
21 void setup(const WxCryptSet& wxc) override;
22
23 const std::vector<int>& getInputVariableIndexes(int flag) const override
24 {
25 return _input_variables;
26 }
27 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
28 {
29 return _aux_variables;
30 }
31
32 const std::vector<int>& getOutputVariableIndexes(int flag) const override
33 {
34 return _output_variables;
35 }
36
37 // redefinition of fluxes from parent
39 const real* q_r,
40 const real* aux_l,
41 const real* aux_r,
42 const solverVariables_t* pFV,
43 real* numericalFlux) const override;
44
46 const real* aux,
47 const solverVariables_t* pSV,
48 std::vector<std::vector<real>>& internalFlux) const override;
49
50protected:
57
58 std::vector<int> _input_variables;
59 std::vector<int> _aux_variables;
60 std::vector<int> _output_variables;
61
62private:
63 navier_stokes_t& operator=(const navier_stokes_t& var);
65};
66} // namespace five_moment
67} // namespace apps
68} // namespace wxm
69
70#endif // WXM_APPS_5MOMENT_NAVIERSTOKES_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: navier_stokes.h:15
real _gas_gamma
Definition: navier_stokes.h:53
real _thermal_conductivity
Definition: navier_stokes.h:52
std::vector< int > _input_variables
Definition: navier_stokes.h:58
real _viscosity
Definition: navier_stokes.h:51
std::vector< int > _aux_variables
Definition: navier_stokes.h:59
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
real numerical_flux(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: navier_stokes.h:27
real _cfl_diff
Definition: navier_stokes.h:56
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: navier_stokes.h:23
real _pressure_min
Definition: navier_stokes.h:54
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: navier_stokes.h:32
std::vector< int > _output_variables
Definition: navier_stokes.h:60
real _density_min
Definition: navier_stokes.h:55
void setup(const WxCryptSet &wxc) 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