WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_imhd_powell_source.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_IMHD_POWELLSOURCE_H
2#define WMAPPLICATION_IMHD_POWELLSOURCE_H
3
4// WarpM includes
6
7// IMHD includes
9
11{
12public:
15
16 void setup(const WxCryptSet& wxc) override;
17
18 const std::vector<int>& getInputVariableIndexes(int flag) const override
19 {
20 return _inputVariables;
21 }
22 const std::vector<int>& getOutputVariableIndexes(int flag) const override
23 {
24 return _outputVariables;
25 }
26
27 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
28 {
29 return _aux_variables;
30 }
31
32 real source(const real* q,
33 const real* aux,
34 const elementGeometry_t* pEG,
35 real* source) const override;
36
37protected:
39
40 std::vector<int> _inputVariables;
41 std::vector<int> _outputVariables;
42 std::vector<int> _aux_variables;
43
44private:
46 operator=(const WmApplication_IMHD_Powellsource& var);
48};
49
50#endif // WMAPPLICATION_IMHD_POWELLSOURCE_H
Definition: wmapplication_imhd_powell_source.h:11
std::vector< int > _aux_variables
Definition: wmapplication_imhd_powell_source.h:42
real _gas_gamma
Definition: wmapplication_imhd_powell_source.h:38
std::vector< int > _inputVariables
Definition: wmapplication_imhd_powell_source.h:40
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_imhd_powell_source.h:18
std::vector< int > _outputVariables
Definition: wmapplication_imhd_powell_source.h:41
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: wmapplication_imhd_powell_source.h:27
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_imhd_powell_source.h:22
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