WARPXM v1.10.0
Loading...
Searching...
No Matches
electric_field_effect_cyl_source.h
Go to the documentation of this file.
1#pragma once
2
3// WarpM includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace hallmhd
11{
12namespace hyperresistivity
13{
14
30{
31public:
36
41
46 void setup(const WxCryptSet& wxc) override;
47
53 const std::vector<int>& getInputVariableIndexes(int flag) const override
54 {
56 }
57
63 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
64 {
66 }
67
73 const std::vector<int>& getOutputVariableIndexes(int flag) const override
74 {
76 }
77
78 real source(const real* q,
79 const real* aux,
80 const elementGeometry_t* pEG,
81 real* source) const override;
82
83protected:
85 int _ir;
86 int _ith;
87 int _iz;
89 std::vector<int> _fluid_variable_idcs;
90 std::vector<int> _field_variable_idcs;
91
92private:
94 operator=(const ElectricFieldEffectCylSource& var) = delete;
96};
97
98} // namespace hyperresistivity
99} // namespace hallmhd
100} // namespace apps
101} // 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
The ElectricFieldEffectCylSource class is the Cylindrical Source Term companion to ElectricFieldEffec...
Definition: electric_field_effect_cyl_source.h:30
real source(const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const override
std::vector< int > _fluid_variable_idcs
Definition: electric_field_effect_cyl_source.h:89
std::vector< int > _field_variable_idcs
Definition: electric_field_effect_cyl_source.h:90
int _radial_index
Definition: electric_field_effect_cyl_source.h:84
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Get output variable indices.
Definition: electric_field_effect_cyl_source.h:73
int _iz
z index
Definition: electric_field_effect_cyl_source.h:87
const std::vector< int > & getInputVariableIndexes(int flag) const override
Get input variable indices.
Definition: electric_field_effect_cyl_source.h:53
int _ith
theta index
Definition: electric_field_effect_cyl_source.h:86
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Get auxiliary variable indices.
Definition: electric_field_effect_cyl_source.h:63
int _ir
r index
Definition: electric_field_effect_cyl_source.h:85
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