WARPXM v1.10.0
Loading...
Searching...
No Matches
line_radiation.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace mhd
11{
12namespace radiation
13{
41{
42public:
44
45 ~LineRadiation() override;
46
47 void setup(const WxCryptSet& wxc) override;
48
49 const std::vector<int>& getInputVariableIndexes(int flag) const override
50 {
52 }
53
54 const std::vector<int>& getOutputVariableIndexes(int flag) const override
55 {
57 }
58
59 real source(const real* q,
60 const real* aux,
61 const elementGeometry_t* pEG,
62 real* source) const override;
63
64protected:
81 std::vector<int>
84private:
85 LineRadiation& operator=(const LineRadiation& var);
86 LineRadiation(const LineRadiation& var);
87};
88
89} // namespace radiation
90} // namespace mhd
91} // namespace apps
92} // 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
Class used to implement an approximate impurity line radiative cooling model.
Definition: line_radiation.h:41
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: line_radiation.h:49
real _Lz0
Loss rate in plateau region.
Definition: line_radiation.h:70
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: line_radiation.h:54
real _ntau_roll
Value of where reduction factor starts.
Definition: line_radiation.h:77
real _T2
Temperature where plateau region ends.
Definition: line_radiation.h:72
real _T1
Temperature where plateau region begins.
Definition: line_radiation.h:71
real _m1
Low temperature Lz growth rate.
Definition: line_radiation.h:73
real _c_ntau
correction factor multiplier.
Definition: line_radiation.h:79
real _gas_gamma
Ratio of specific heats.
Definition: line_radiation.h:65
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _Zi
Average charge state.
Definition: line_radiation.h:67
real _tau_z
Impurity confinement time.
Definition: line_radiation.h:76
std::vector< int > _fluid_variable_idcs
Vector of MHD fluid variable indicies.
Definition: line_radiation.h:82
real _imp_frac
Impurity fraction of ions nz/ni.
Definition: line_radiation.h:69
real _m2
High temperature Lz growth rate (negative for negative growth rate).
Definition: line_radiation.h:74
real _Ai
Ion mass factor.
Definition: line_radiation.h:66
void setup(const WxCryptSet &wxc) override
list apps
Definition: shock_tube.py:33
warpy mhd
Definition: mhd_shock.py:32
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