WARPXM v1.10.0
Loading...
Searching...
No Matches
general_source.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_5MOMENT_GENSOURCE_H
2#define WMAPPLICATION_5MOMENT_GENSOURCE_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace five_moment
12{
13
15{
16public:
18
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
28 const std::vector<int>& getOutputVariableIndexes(int flag) const override
29 {
30 return _input_variables;
31 }
32
33 real source(const real* q,
34 const real* aux,
35 const elementGeometry_t* pEG,
36 real* source) const override;
37
38protected:
39 std::vector<real> _params;
41 std::vector<int> _input_variables;
42
43private:
44 general_source_t& operator=(const general_source_t& var);
46};
47} // namespace five_moment
48} // namespace apps
49} // namespace wxm
50
51#endif // WMAPPLICATION_5MOMENT_GENSOURCE_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: general_source.h:15
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: general_source.h:23
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
int _S_type
Definition: general_source.h:40
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: general_source.h:28
std::vector< int > _input_variables
Definition: general_source.h:41
std::vector< real > _params
Definition: general_source.h:39
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