WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_imhd_arbitrary_source.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_IMHD_ARBITRARYSOURCE_H
2#define WMAPPLICATION_IMHD_ARBITRARYSOURCE_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
45 // int _source_index;
46
47private:
49 operator=(const WmApplication_IMHD_Arbitrarysource& var);
51};
52
53#endif // WMAPPLICATION_IMHD_ARBITRARYSOURCE_H
Definition: wmapplication_imhd_arbitrary_source.h:11
std::vector< int > _outputVariables
Definition: wmapplication_imhd_arbitrary_source.h:41
std::vector< int > _aux_variables
Definition: wmapplication_imhd_arbitrary_source.h:42
std::vector< int > _inputVariables
Definition: wmapplication_imhd_arbitrary_source.h:40
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_imhd_arbitrary_source.h:22
real _gas_gamma
Definition: wmapplication_imhd_arbitrary_source.h:38
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _source_magnitude
Definition: wmapplication_imhd_arbitrary_source.h:44
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_imhd_arbitrary_source.h:18
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