WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_rmhd_bc_noslipwall.h
Go to the documentation of this file.
1#ifndef WMAPPLICATION_RMHD_BC_NOSLIPWALL_H
2#define WMAPPLICATION_RMHD_BC_NOSLIPWALL_H
3
4// WarpM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace rmhd
12{
13namespace bc
14{
15
17{
18public:
20
22
23 void setup(const WxCryptSet& wxc) override;
24
25 const std::vector<int>& getInputVariableIndexes(int flag) const override
26 {
27 return _inputVariables;
28 }
29
30 const std::vector<int>& getOutputVariableIndexes(int flag) const override
31 {
32 return _outputVariables;
33 }
34
35 // redefinition of bc
36 void bc_q(const real* q_in,
37 const real* aux_in,
38 const real* aux_out,
39 const solverVariables_t* pFV,
40 real* q_out) const override;
41
42protected:
46
47 std::vector<real> _wallVelocity;
48 std::vector<real> _wallMagneticField;
49
52
53 std::vector<int> _inputVariables;
54 std::vector<int> _outputVariables;
55
56private:
58 operator=(const WmApplication_Rmhd_BC_NoslipWall& var);
60};
61
62} // namespace bc
63} // namespace rmhd
64} // namespace apps
65} // namespace wxm
66
67#endif // WMAPPLICATION_RMHD_BC_NOSLIPWALL_H
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: wmapplication_rmhd_bc_noslipwall.h:17
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.
std::vector< int > _outputVariables
Definition: wmapplication_rmhd_bc_noslipwall.h:54
real _min_density
Definition: wmapplication_rmhd_bc_noslipwall.h:50
real _skin_depth_norm
Definition: wmapplication_rmhd_bc_noslipwall.h:44
std::vector< real > _wallMagneticField
Definition: wmapplication_rmhd_bc_noslipwall.h:48
void setup(const WxCryptSet &wxc) override
real _gas_gamma
Definition: wmapplication_rmhd_bc_noslipwall.h:43
real _nu_p_norm
Definition: wmapplication_rmhd_bc_noslipwall.h:45
std::vector< real > _wallVelocity
Definition: wmapplication_rmhd_bc_noslipwall.h:47
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_rmhd_bc_noslipwall.h:25
real _min_pressure
Definition: wmapplication_rmhd_bc_noslipwall.h:51
std::vector< int > _inputVariables
Definition: wmapplication_rmhd_bc_noslipwall.h:53
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_rmhd_bc_noslipwall.h:30
list apps
Definition: shock_tube.py:33
bc
Definition: advection2d_conservation.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