WARPXM v1.10.0
Loading...
Searching...
No Matches
bremsstrahlung.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{
33{
34public:
36
37 ~Bremsstrahlung() override;
38
39 void setup(const WxCryptSet& wxc) override;
40
41 const std::vector<int>& getInputVariableIndexes(int flag) const override
42 {
44 }
45
46 const std::vector<int>& getOutputVariableIndexes(int flag) const override
47 {
49 }
50
51 real source(const real* q,
52 const real* aux,
53 const elementGeometry_t* pEG,
54 real* source) const override;
55
56protected:
61
64 std::vector<real> _fimp;
65 std::vector<real> _Zimp;
69
71
75 std::vector<int> _fluid_variable_idcs;
76
77private:
78 Bremsstrahlung& operator=(const Bremsstrahlung& var);
80};
81
82} // namespace radiation
83} // namespace mhd
84} // namespace apps
85} // 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 Bremsstrahlung radiative cooling de/dt ~ -n^2 T^0.5 Specifically see Goldston...
Definition: bremsstrahlung.h:33
real _tau
Definition: bremsstrahlung.h:59
real _Ai
Proton normalized ion mass.
Definition: bremsstrahlung.h:62
real _Zi
Ion charge.
Definition: bremsstrahlung.h:63
real _fimp_tot
Definition: bremsstrahlung.h:66
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: bremsstrahlung.h:46
real _min_density
Normalized minimum mass density.
Definition: bremsstrahlung.h:72
std::vector< int > _fluid_variable_idcs
Definition: bremsstrahlung.h:75
real _Zbar
Definition: bremsstrahlung.h:67
real _gas_gamma
Ratio of specific heats.
Definition: bremsstrahlung.h:57
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: bremsstrahlung.h:41
real _constant
Definition: bremsstrahlung.h:70
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
std::vector< real > _Zimp
Definition: bremsstrahlung.h:65
real _Zeff
Definition: bremsstrahlung.h:68
std::vector< real > _fimp
Definition: bremsstrahlung.h:64
void setup(const WxCryptSet &wxc) override
real _T0_J
Definition: bremsstrahlung.h:60
real _min_pressure
Normalized minimum pressure density.
Definition: bremsstrahlung.h:73
real _n0
Definition: bremsstrahlung.h:58
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