WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_axisymmetric_imhd_1D.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_AXISYMMETRIC_IMHD_1D_H
2#define WMAPPLICATION_AXISYMMETRIC_IMHD_1D_H
3
4// wxm includes
6
8{
9public:
11
13
14 void setup(const WxCryptSet& wxc) override;
15
16 const std::vector<int>& getInputVariableIndexes(int flag) const override
17 {
18 return _inputVariables;
19 }
20 const std::vector<int>& getOutputVariableIndexes(int flag) const override
21 {
22 return _outputVariables;
23 }
24
25 // const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
26 // {
27 // return _aux_variables;
28 // }
29
30 // redefinition of fluxes from parent
32 const real* q_r,
33 const real* aux_l,
34 const real* aux_r,
35 const solverVariables_t* pFV,
36 real* numericalFlux) const override;
38 const real* aux,
39 const solverVariables_t* pSV,
40 std::vector<std::vector<real>>& internalFlux) const override;
41
42 // redefinition of geometric source terms from parent
43 real source(const real* q,
44 const real* aux,
45 const elementGeometry_t* pEG,
46 real* source) const override;
47
48protected:
50
51 std::string _numerical_flux_type; // this is the type of numerical flux you want to
52 // use (rusanov, roe, hll, hlld, etc.)
53
54 std::vector<int> _inputVariables;
55 std::vector<int> _outputVariables;
56 // std::vector<int> _aux_variables;
57
58 // real _c_h, _c_p, _c_r;
59
62
63private:
65 operator=(const WmApplication_AXISYMMETRIC_IMHD_1D& var);
67};
68
69#endif // WMAPPLICATION_AXISYMMETRIC_IMHD_1D_H
Definition: wmapplication_axisymmetric_imhd_1D.h:8
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_axisymmetric_imhd_1D.h:16
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_axisymmetric_imhd_1D.h:20
real _min_pressure_floor
Definition: wmapplication_axisymmetric_imhd_1D.h:61
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real internal_flux(const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override
std::vector< int > _inputVariables
Definition: wmapplication_axisymmetric_imhd_1D.h:54
std::string _numerical_flux_type
Definition: wmapplication_axisymmetric_imhd_1D.h:51
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
std::vector< int > _outputVariables
Definition: wmapplication_axisymmetric_imhd_1D.h:55
real _min_density_floor
Definition: wmapplication_axisymmetric_imhd_1D.h:60
real _gas_gamma
Definition: wmapplication_axisymmetric_imhd_1D.h:49
void setup(const WxCryptSet &wxc) override
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: wmapplication.h:38
#define real
Definition: wmoclunstructuredreconstruction.h:11