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 rmhd
11{
12namespace bc
13{
15{
16public:
18
20
21 void setup(const WxCryptSet& wxc) override;
22
23 const std::vector<int>& getInputVariableIndexes(int flag) const override
24 {
25 return _var_idcs;
26 }
27
28 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
29 {
30 return _aux_var_idcs;
31 }
32
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35 return _var_idcs;
36 }
37
38 // redefinition of bc
39 void bc_q(const real* q_in,
40 const real* aux_in,
41 const real* aux_out,
42 const solverVariables_t* pFV,
43 real* q_out) const override;
44
45protected:
48 std::vector<int> _var_idcs;
49 std::vector<int> _aux_var_idcs;
50
51 std::string _coordinate_system;
53 int _ir, _ith, _iz; // r, theta, and z indices
54
55private:
57 operator=(const ConductingWallFreeslipGradients& var) = delete;
59};
60} // namespace bc
61} // namespace rmhd
62} // namespace apps
63} // 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
Definition: conducting_wall_freeslip_gradients_bc.h:15
std::string _coordinate_system
Definition: conducting_wall_freeslip_gradients_bc.h:51
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.
void setup(const WxCryptSet &wxc) override
int _iz
Definition: conducting_wall_freeslip_gradients_bc.h:53
real _skin_depth_norm
Definition: conducting_wall_freeslip_gradients_bc.h:47
int _radial_index
Definition: conducting_wall_freeslip_gradients_bc.h:52
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: conducting_wall_freeslip_gradients_bc.h:28
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: conducting_wall_freeslip_gradients_bc.h:23
int _ir
Definition: conducting_wall_freeslip_gradients_bc.h:53
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: conducting_wall_freeslip_gradients_bc.h:33
std::vector< int > _aux_var_idcs
Definition: conducting_wall_freeslip_gradients_bc.h:49
real _gas_gamma
Definition: conducting_wall_freeslip_gradients_bc.h:46
std::vector< int > _var_idcs
Definition: conducting_wall_freeslip_gradients_bc.h:48
int _ith
Definition: conducting_wall_freeslip_gradients_bc.h:53
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