WARPXM v1.10.0
Loading...
Searching...
No Matches
intraspecies_cyl.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6// STL includes
7#include <memory>
8
9namespace wxm
10{
11namespace apps
12{
13namespace five_moment
14{
39{
40public:
42
43 ~IntraspeciesCyl() override;
44
45 void setup(const WxCryptSet& wxc) override;
46
47 const std::vector<int>& getInputVariableIndexes(int flag) const override
48 {
49 return _input_variables;
50 }
51 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
52 {
53 return _aux_variables;
54 }
55 const std::vector<int>& getOutputVariableIndexes(int flag) const override
56 {
57 return _input_variables;
58 }
59
60 real source(const real* q,
61 const real* aux,
62 const elementGeometry_t* pEG,
63 real* source) const override;
64
65protected:
81
84 int _ir;
85 int _ith;
86 int _iz;
87
88 std::vector<int> _input_variables;
89 std::vector<int> _aux_variables;
90
91 // pointer to subapplications and boolean
92 std::unique_ptr<WmApplication> _floor_app;
94
95private:
96 IntraspeciesCyl& operator=(const IntraspeciesCyl& var) = delete;
97 IntraspeciesCyl(const IntraspeciesCyl& var) = delete;
98};
99} // namespace five_moment
100} // namespace apps
101} // namespace wxm
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
Implements the source terms for intraspecies collisions arising from a cylindrical geometry.
Definition: intraspecies_cyl.h:39
real _minimum_frequency
Definition: intraspecies_cyl.h:74
void setup(const WxCryptSet &wxc) override
real _charge
Definition: intraspecies_cyl.h:67
real _coulomb_log
Definition: intraspecies_cyl.h:70
std::vector< int > _input_variables
Definition: intraspecies_cyl.h:88
bool _ifconst_k
Definition: intraspecies_cyl.h:79
int _ir
Definition: intraspecies_cyl.h:84
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: intraspecies_cyl.h:51
real _nuptau
Definition: intraspecies_cyl.h:69
std::vector< int > _aux_variables
Definition: intraspecies_cyl.h:89
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: intraspecies_cyl.h:47
bool _is_neutral
Definition: intraspecies_cyl.h:82
int _iz
Definition: intraspecies_cyl.h:86
real _gas_gamma
Definition: intraspecies_cyl.h:66
std::unique_ptr< WmApplication > _floor_app
Definition: intraspecies_cyl.h:92
real _mass
Definition: intraspecies_cyl.h:68
real _min_pressure
Definition: intraspecies_cyl.h:76
real _diffusivity_max
Definition: intraspecies_cyl.h:73
int _radial_index
Definition: intraspecies_cyl.h:83
real _collision_coefficient
Definition: intraspecies_cyl.h:71
real _const_k
Definition: intraspecies_cyl.h:80
real _const_mu
Definition: intraspecies_cyl.h:78
real _diffusivity_min
Definition: intraspecies_cyl.h:72
int _ith
Definition: intraspecies_cyl.h:85
bool _ifconst_mu
Definition: intraspecies_cyl.h:77
real _min_density
Definition: intraspecies_cyl.h:75
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: intraspecies_cyl.h:55
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
bool _has_floor_app
Definition: intraspecies_cyl.h:93
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