WARPXM v1.10.0
Loading...
Searching...
No Matches
bremsstrahlung.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{
30{
31public:
33
34 ~Bremsstrahlung() override;
35
36 void setup(const WxCryptSet& wxc) override;
37
38 const std::vector<int>& getInputVariableIndexes(int flag) const override
39 {
40 return q_indexes_;
41 }
42
43 const std::vector<int>& getOutputVariableIndexes(int flag) const override
44 {
45 return q_indexes_;
46 }
47
48 real source(const real* q,
49 const real* aux,
50 const elementGeometry_t* pEG,
51 real* source) const override;
52
53protected:
55 std::unique_ptr<wxm::apps::mhd_two_temperature::AppSetupHelper> setup_helper_;
56
61
64 std::vector<real> fimp_;
65 std::vector<real> Zimp_;
69
71
75 std::vector<int> q_indexes_;
76
77private:
78 Bremsstrahlung& operator=(const Bremsstrahlung& var);
80};
81
82} // namespace radiation
83} // namespace mhd_two_temperature
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.
Definition: bremsstrahlung.h:30
real Zi_
Ion charge.
Definition: bremsstrahlung.h:63
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: bremsstrahlung.h:38
real min_pressure_floor_
Normalized minimum pressure density.
Definition: bremsstrahlung.h:73
real min_density_floor_
Normalized minimum mass density.
Definition: bremsstrahlung.h:72
std::vector< real > fimp_
Definition: bremsstrahlung.h:64
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: bremsstrahlung.h:43
std::unique_ptr< wxm::apps::mhd_two_temperature::AppSetupHelper > setup_helper_
Helper object that automates common setup routines.
Definition: bremsstrahlung.h:55
real Ai_
Proton normalized ion mass.
Definition: bremsstrahlung.h:62
std::vector< real > Zimp_
Definition: bremsstrahlung.h:65
std::vector< int > q_indexes_
Definition: bremsstrahlung.h:75
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real gas_gamma_
Ratio of specific heats.
Definition: bremsstrahlung.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