WARPXM v1.10.0
Loading...
Searching...
No Matches
interspecies_collisions.h
Go to the documentation of this file.
1#ifndef WXM_APPS_5MOMENT_INTERSPECIESCOLLISIONS_H
2#define WXM_APPS_5MOMENT_INTERSPECIESCOLLISIONS_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace five_moment
12{
13
15{
16public:
18
19 void setup(const WxCryptSet& wxc) override;
20
21 const std::vector<int>& getInputVariableIndexes(int flag) const override
22 {
23 return _fluid_a;
24 }
25
26 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
27 {
28 return _fluid_b;
29 }
30
31 const std::vector<int>& getOutputVariableIndexes(int flag) const override
32 {
33 return _fluid_a;
34 }
35
36 // redefinition of source
37 real source(const real* q,
38 const real* aux,
39 const elementGeometry_t* pEG,
40 real* source) const override;
41
42protected:
51
53
55
56 std::vector<int> _fluid_a;
57 std::vector<int> _fluid_b;
58
59private:
60 InterspeciesCollisions& operator=(const InterspeciesCollisions& var) = delete;
62};
63} // namespace five_moment
64} // namespace apps
65} // namespace wxm
66
67#endif // WXM_APPS_5MOMENT_INTERSPECIESCOLLISIONS_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: interspecies_collisions.h:15
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: interspecies_collisions.h:21
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _Z_b
Definition: interspecies_collisions.h:47
real _collision_coefficient
Definition: interspecies_collisions.h:54
real _gas_gamma_b
Definition: interspecies_collisions.h:45
void setup(const WxCryptSet &wxc) override
real _min_nu_ab
Definition: interspecies_collisions.h:52
real _Z_a
Definition: interspecies_collisions.h:46
real _A_a
Definition: interspecies_collisions.h:48
real _gas_gamma_a
Definition: interspecies_collisions.h:44
real _A_b
Definition: interspecies_collisions.h:49
real _coulomb_log
Definition: interspecies_collisions.h:50
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: interspecies_collisions.h:26
std::vector< int > _fluid_a
Definition: interspecies_collisions.h:56
std::vector< int > _fluid_b
Definition: interspecies_collisions.h:57
real _nu_p_norm
Definition: interspecies_collisions.h:43
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: interspecies_collisions.h:31
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