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
6
7// std includes
8#include <memory>
9
10namespace wxm
11{
12namespace apps
13{
14namespace mhd_two_temperature
15{
16namespace radiation
17{
32{
33public:
35
36 ~GeneralizednT() override;
37
38 void setup(const WxCryptSet& wxc) override;
39
40 const std::vector<int>& getInputVariableIndexes(int flag) const override
41 {
42 return q_indexes_;
43 }
44
45 const std::vector<int>& getOutputVariableIndexes(int flag) const override
46 {
47 return q_indexes_;
48 }
49
50 real source(const real* q,
51 const real* aux,
52 const elementGeometry_t* pEG,
53 real* source) const override;
54
55protected:
57 std::unique_ptr<wxm::apps::mhd_two_temperature::AppSetupHelper> setup_helper_;
58
70
74 std::vector<int> q_indexes_;
75
76private:
77 GeneralizednT& operator=(const GeneralizednT& var);
78 GeneralizednT(const GeneralizednT& var);
79};
80
81} // namespace radiation
82} // namespace mhd_two_temperature
83} // namespace apps
84} // 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 dei/dt = - Ci ni^alphai_n T...
Definition: generalized_nT.h:32
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: generalized_nT.h:45
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: generalized_nT.h:40
real alpha_Te_
Definition: generalized_nT.h:69
real alpha_ne_
Definition: generalized_nT.h:68
void setup(const WxCryptSet &wxc) override
std::vector< int > q_indexes_
Definition: generalized_nT.h:74
real constant_e_
radiation constant for electrons
Definition: generalized_nT.h:65
real Ai_
Proton normalized ion mass.
Definition: generalized_nT.h:61
real constant_i_
radiation constant for ions
Definition: generalized_nT.h:64
real alpha_Ti_
Definition: generalized_nT.h:67
real alpha_ni_
Definition: generalized_nT.h:66
real min_pressure_floor_
Normalized minimum pressure density.
Definition: generalized_nT.h:72
real Zi_
Ion charge.
Definition: generalized_nT.h:62
real gas_gamma_
Ratio of specific heats.
Definition: generalized_nT.h:59
real min_density_floor_
Normalized minimum mass density.
Definition: generalized_nT.h:71
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
std::unique_ptr< wxm::apps::mhd_two_temperature::AppSetupHelper > setup_helper_
Helper object that automates common setup routines.
Definition: generalized_nT.h:57
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