WARPXM v1.10.0
Loading...
Searching...
No Matches
generalized_nT.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{
52{
53public:
55
56 ~GeneralizednT() override;
57
58 void setup(const WxCryptSet& wxc) override;
59
60 const std::vector<int>& getInputVariableIndexes(int flag) const override
61 {
63 }
64
65 const std::vector<int>& getOutputVariableIndexes(int flag) const override
66 {
68 }
69
70 real source(const real* q,
71 const real* aux,
72 const elementGeometry_t* pEG,
73 real* source) const override;
74
75protected:
85
89 std::vector<int> _fluid_variable_idcs;
90
91private:
92 GeneralizednT& operator=(const GeneralizednT& var);
93 GeneralizednT(const GeneralizednT& var);
94};
95
96} // namespace radiation
97} // namespace mhd
98} // namespace apps
99} // 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 a genaral C n^alpha_n T^alpha_T radiative cooling de/dt = - C n^alpha_n T^alp...
Definition: generalized_nT.h:52
real _constant
Black body radiation constant, chosen_factor [J^-3 s^-1].
Definition: generalized_nT.h:76
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: generalized_nT.h:65
std::vector< int > _fluid_variable_idcs
Definition: generalized_nT.h:89
real _gas_gamma
Ratio of specific heats.
Definition: generalized_nT.h:78
real _Zi
Ion charge.
Definition: generalized_nT.h:81
void setup(const WxCryptSet &wxc) override
real _Ai
Proton normalized ion mass.
Definition: generalized_nT.h:80
real _min_pressure
Normalized minimum pressure density.
Definition: generalized_nT.h:87
real _alpha_n
Definition: generalized_nT.h:83
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: generalized_nT.h:60
real _min_density
Normalized minimum mass density.
Definition: generalized_nT.h:86
real _alpha_T
Definition: generalized_nT.h:84
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const 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