WARPXM v1.10.0
Loading...
Searching...
No Matches
reaction_source_mol.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_5MOMENT_RXNSOURCE_MOL_H
2#define WMAPPLICATION_5MOMENT_RXNSOURCE_MOL_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>& getAuxiliaryVariableIndexes(int flag) const override
29 {
30 return _aux_variables;
31 }
32
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35 return _input_variables;
36 }
37
38 real source(const real* q,
39 const real* aux,
40 const elementGeometry_t* pEG,
41 real* source) const override;
42
43protected:
45 int _atom;
54
55 std::vector<int> _input_variables;
56 std::vector<int> _aux_variables;
57
58private:
59 reaction_source_mol_t& operator=(const reaction_source_mol_t& var);
61};
62} // namespace five_moment
63} // namespace apps
64} // namespace wxm
65
66#endif // WMAPPLICATION_5MOMENT_RXNSOURCE_MOL_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: reaction_source_mol.h:15
real _Ae
Definition: reaction_source_mol.h:46
real _L
Definition: reaction_source_mol.h:52
std::vector< int > _aux_variables
Definition: reaction_source_mol.h:56
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: reaction_source_mol.h:28
int _species
Definition: reaction_source_mol.h:44
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: reaction_source_mol.h:23
void setup(const WxCryptSet &wxc) override
real _ompt
Definition: reaction_source_mol.h:50
int _atom
Definition: reaction_source_mol.h:45
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: reaction_source_mol.h:33
real _Am
Definition: reaction_source_mol.h:49
real _eps0
Definition: reaction_source_mol.h:53
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _omct
Definition: reaction_source_mol.h:51
real _Ai
Definition: reaction_source_mol.h:47
std::vector< int > _input_variables
Definition: reaction_source_mol.h:55
real _Aa
Definition: reaction_source_mol.h:48
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