WARPXM v1.10.0
Loading...
Searching...
No Matches
wmapplication_imhd_bc_freeslipwall.h
Go to the documentation of this file.
1#ifndef WXM_APPS_IMHD_BC_FREESLIP_WALL_H
2#define WXM_APPS_IMHD_BC_FREESLIP_WALL_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace imhd
12{
13namespace bc
14{
25{
26public:
28
29 ~freeslip_wall() override;
30
31 void setup(const WxCryptSet& wxc) override;
32
33 const std::vector<int>& getInputVariableIndexes(int flag) const override
34 {
35 return _variables;
36 }
37 const std::vector<int>& getOutputVariableIndexes(int flag) const override
38 {
39 return _variables;
40 }
41
42 // redefinition of bc
43 void bc_q(const real* q_in,
44 const real* aux_in,
45 const real* aux_out,
46 const solverVariables_t* pFV,
47 real* q_out) const override;
48
49protected:
51
54
55 std::vector<int> _variables;
56
57private:
58 freeslip_wall& operator=(const freeslip_wall& var);
59 freeslip_wall(const freeslip_wall& var);
60};
61} // namespace bc
62} // namespace imhd
63} // namespace apps
64} // namespace wxm
65
66#endif
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
Ideal mhd free slip wall boundary condition.
Definition: wmapplication_imhd_bc_freeslipwall.h:25
real _min_density
Definition: wmapplication_imhd_bc_freeslipwall.h:52
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
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: wmapplication_imhd_bc_freeslipwall.h:37
std::vector< int > _variables
Definition: wmapplication_imhd_bc_freeslipwall.h:55
real _gas_gamma
Definition: wmapplication_imhd_bc_freeslipwall.h:50
real _min_pressure
Definition: wmapplication_imhd_bc_freeslipwall.h:53
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: wmapplication_imhd_bc_freeslipwall.h:33
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