WARPXM v1.10.0
Loading...
Searching...
No Matches
vacuum_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{
39{
40public:
42
43 ~VacuumRadiation() override;
44
45 void setup(const WxCryptSet& wxc) override;
46
47 const std::vector<int>& getInputVariableIndexes(int flag) const override
48 {
50 }
51
52 const std::vector<int>& getOutputVariableIndexes(int flag) const override
53 {
55 }
56
57 real source(const real* q,
58 const real* aux,
59 const elementGeometry_t* pEG,
60 real* source) const override;
61
62protected:
76 std::vector<int> _fluid_variable_idcs;
77
78private:
79 VacuumRadiation& operator=(const VacuumRadiation& var);
81};
82
83} // namespace radiation
84} // namespace mhd
85} // namespace apps
86} // 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 "vacuum radiation", i.e., radiation that is large where density is less than ...
Definition: vacuum_radiation.h:39
real _constant
Radiation constant [Power / volume].
Definition: vacuum_radiation.h:63
real _n_vac
Vacuum density level below which vacuum radiation is applied.
Definition: vacuum_radiation.h:66
real _Ai
Proton normalized ion mass.
Definition: vacuum_radiation.h:70
real _gas_gamma
Ratio of specific heats.
Definition: vacuum_radiation.h:64
real _T0_vac
Turn-on temperature of vacuum radiation.
Definition: vacuum_radiation.h:67
real _min_density
Normalized minimum mass density.
Definition: vacuum_radiation.h:73
real _Zi
Ion charge.
Definition: vacuum_radiation.h:71
real _min_pressure
Normalized minimum pressure density.
Definition: vacuum_radiation.h:74
std::vector< int > _fluid_variable_idcs
Definition: vacuum_radiation.h:76
void setup(const WxCryptSet &wxc) override
real _T1_vac
Max-out temperature of vacuum radiation.
Definition: vacuum_radiation.h:68
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: vacuum_radiation.h:52
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: vacuum_radiation.h:47
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