WARPXM v1.10.0
Loading...
Searching...
No Matches
disk_current.h
Go to the documentation of this file.
1#pragma once
2
3// WARPXM includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace functions
11{
12namespace mhd
13{
14
32{
33public:
39
44 ~DiskCurrent() override;
45
50 void setup(const WxCryptSet& wxc) override;
51
57 const std::vector<int>& getOutputVariableIndexes(int flag) const override
58 {
59 return _output_fluid_idcs;
60 }
61
69 void evaluate_function(const real* q,
70 const real* aux,
71 const solverVariables_t* pSV,
72 real* result) const override;
73
74protected:
75 std::vector<int> _output_fluid_idcs;
76
88private:
89 DiskCurrent& operator=(const DiskCurrent& var);
90 DiskCurrent(const DiskCurrent& var);
91};
92} // namespace mhd
93} // namespace functions
94} // namespace apps
95} // 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
Implements an initial condition with a density and temperature profile along with an azimuthal magnet...
Definition: disk_current.h:32
real _T_bump
Max slug temperature.
Definition: disk_current.h:82
real _Zi
Average charge state.
Definition: disk_current.h:79
real _gas_gamma
Ratio of specific heats.
Definition: disk_current.h:77
void setup(const WxCryptSet &wxc) override
Setup.
real _Ai
Ion mass factor.
Definition: disk_current.h:78
real _n_bump
Max slug density.
Definition: disk_current.h:80
real _omct
(omega_c tau) normalization factor.
Definition: disk_current.h:85
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: disk_current.h:57
real _n_bg
Background density.
Definition: disk_current.h:81
real _T_bg
Background temperature.
Definition: disk_current.h:83
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
real _I_tot
Total current.
Definition: disk_current.h:86
real _vz
Axial velocity.
Definition: disk_current.h:84
std::vector< int > _output_fluid_idcs
Definition: disk_current.h:75
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