WARPXM v1.10.0
Loading...
Searching...
No Matches
conducting_wall_freeslip_gradients_bc.h
Go to the documentation of this file.
1#pragma once
2
3// WARPXM includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace hallmhd
11{
12namespace bc
13{
14
66{
67public:
69
71
72 void setup(const WxCryptSet& wxc) override;
73
74 const std::vector<int>& getInputVariableIndexes(int flag) const override
75 {
76 return _var_idcs;
77 }
78
79 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
80 {
81 return _aux_var_idcs;
82 }
83
84 const std::vector<int>& getOutputVariableIndexes(int flag) const override
85 {
86 return _var_idcs;
87 }
88
89 // redefinition of bc
90 void bc_q(const real* q_in,
91 const real* aux_in,
92 const real* aux_out,
93 const solverVariables_t* pFV,
94 real* q_out) const override;
95
96protected:
99
103
104 std::vector<int> _var_idcs;
105 std::vector<int> _aux_var_idcs;
106
109
112 int _ir;
113 int _ith;
114 int _iz;
116 // resistivity terms
117 std::string _resistivity_type;
127
131private:
133 operator=(const ConductingWallFreeslipGradients& var) = delete;
135};
136} // namespace bc
137} // namespace hallmhd
138} // namespace apps
139} // 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 to set gradient variables for conducting wall for Hall MHD.
Definition: conducting_wall_freeslip_gradients_bc.h:66
std::vector< int > _aux_var_idcs
Definition: conducting_wall_freeslip_gradients_bc.h:105
real _min_pressure_floor
Definition: conducting_wall_freeslip_gradients_bc.h:108
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: conducting_wall_freeslip_gradients_bc.h:84
std::vector< int > _var_idcs
Definition: conducting_wall_freeslip_gradients_bc.h:104
int _ith
theta index
Definition: conducting_wall_freeslip_gradients_bc.h:113
real _Zi
Definition: conducting_wall_freeslip_gradients_bc.h:100
real _lnlam
Definition: conducting_wall_freeslip_gradients_bc.h:125
real _n_vac
Definition: conducting_wall_freeslip_gradients_bc.h:120
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: conducting_wall_freeslip_gradients_bc.h:74
std::string _coordinate_system
Definition: conducting_wall_freeslip_gradients_bc.h:110
int _radial_index
Definition: conducting_wall_freeslip_gradients_bc.h:111
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: conducting_wall_freeslip_gradients_bc.h:79
real _Ze
< Electron mass for Hall MHD model
Definition: conducting_wall_freeslip_gradients_bc.h:129
int _iz
z index
Definition: conducting_wall_freeslip_gradients_bc.h:114
real _omega_p_norm
Definition: conducting_wall_freeslip_gradients_bc.h:124
void setup(const WxCryptSet &wxc) override
real _Ae_hall
Definition: conducting_wall_freeslip_gradients_bc.h:128
real _min_eta
Definition: conducting_wall_freeslip_gradients_bc.h:119
real _max_eta
Definition: conducting_wall_freeslip_gradients_bc.h:118
bool _const_resistivity
Definition: conducting_wall_freeslip_gradients_bc.h:123
real _gas_gamma
Definition: conducting_wall_freeslip_gradients_bc.h:97
real _Ai
Definition: conducting_wall_freeslip_gradients_bc.h:101
std::string _resistivity_type
Definition: conducting_wall_freeslip_gradients_bc.h:117
real _theta
Definition: conducting_wall_freeslip_gradients_bc.h:102
real _eta_vac
Definition: conducting_wall_freeslip_gradients_bc.h:121
real _nu_p_norm
Definition: conducting_wall_freeslip_gradients_bc.h:126
void bc_q(const real *q_in, const real *aux_in, const real *aux_out, const solverVariables_t *pFV, real *q_out) const override
Boundary Condition Application which sets the boundary condition on ghost nodes.
real _skin_depth_norm
Definition: conducting_wall_freeslip_gradients_bc.h:98
real _constant_resistivity_eta
Definition: conducting_wall_freeslip_gradients_bc.h:122
int _ir
r index
Definition: conducting_wall_freeslip_gradients_bc.h:112
real _min_density_floor
Definition: conducting_wall_freeslip_gradients_bc.h:107
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