WARPXM v1.10.0
Loading...
Searching...
No Matches
cyl_source.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace hallmhd
11{
132{
133public:
135
137
138 void setup(const WxCryptSet& wxc) override;
139
140 const std::vector<int>& getInputVariableIndexes(int flag) const override
141 {
143 }
144
145 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
146 {
148 }
149
150 const std::vector<int>& getOutputVariableIndexes(int flag) const override
151 {
153 }
154
155 real source(const real* q,
156 const real* aux,
157 const elementGeometry_t* pEG,
158 real* source) const override;
159
160protected:
169 int _ir;
170 int _ith;
171 int _iz;
174
175 std::vector<int> _input_variable_indices;
176 std::vector<int> _aux_variable_indices;
177
178private:
179 CylSource& operator=(const CylSource& var) = delete;
180 CylSource(const CylSource& var) = delete;
181};
182} // namespace hallmhd
183} // namespace apps
184} // 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 the source terms in the Hall terms that are added to Ideal MHD to produce the Hall MHD equ...
Definition: cyl_source.h:132
real _Zi
Definition: cyl_source.h:164
int _radial_index
Definition: cyl_source.h:168
int _iz
z index
Definition: cyl_source.h:171
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: cyl_source.h:150
std::vector< int > _aux_variable_indices
Definition: cyl_source.h:176
real _min_density_floor
Definition: cyl_source.h:173
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: cyl_source.h:145
real _Ae
Definition: cyl_source.h:166
int _ith
theta index
Definition: cyl_source.h:170
std::vector< int > _input_variable_indices
Definition: cyl_source.h:175
void setup(const WxCryptSet &wxc) override
real _gas_gamma
Definition: cyl_source.h:161
int _ir
r index
Definition: cyl_source.h:169
real _Ai
Definition: cyl_source.h:163
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
real _skin_depth_norm
Definition: cyl_source.h:162
real _theta
Definition: cyl_source.h:167
real _Ze
Definition: cyl_source.h:165
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: cyl_source.h:140
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