WARPXM v1.10.0
Loading...
Searching...
No Matches
blackbody.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{
41{
42public:
44
45 ~BlackBody() override;
46
47 void setup(const WxCryptSet& wxc) override;
48
49 const std::vector<int>& getInputVariableIndexes(int flag) const override
50 {
52 }
53
54 const std::vector<int>& getOutputVariableIndexes(int flag) const override
55 {
57 }
58
59 real source(const real* q,
60 const real* aux,
61 const elementGeometry_t* pEG,
62 real* source) const override;
63
64protected:
75 std::vector<int> _fluid_variable_idcs;
76
77private:
78 BlackBody& operator=(const BlackBody& var);
79 BlackBody(const BlackBody& 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 blackbody radiative cooling de/dt = - C n T^4 This can be related to a volume...
Definition: blackbody.h:41
std::vector< int > _fluid_variable_idcs
Definition: blackbody.h:75
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: blackbody.h:54
real _constant
Black body radiation constant, chosen_factor [J^-3 s^-1].
Definition: blackbody.h:65
real _Ai
Proton normalized ion mass.
Definition: blackbody.h:69
real _Zi
Ion charge.
Definition: blackbody.h:70
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: blackbody.h:49
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _min_density
Normalized minimum mass density.
Definition: blackbody.h:72
real _gas_gamma
Ratio of specific heats.
Definition: blackbody.h:67
void setup(const WxCryptSet &wxc) override
real _min_pressure
Normalized minimum pressure density.
Definition: blackbody.h:73
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