WARPXM v1.10.0
Loading...
Searching...
No Matches
noslip_wall.h
Go to the documentation of this file.
1#ifndef WXM_APPS_5MOMENT_BC_NOSLIP_WALL_H
2#define WXM_APPS_5MOMENT_BC_NOSLIP_WALL_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace five_moment
12{
13namespace bc
14{
15
17{
18public:
20
21 ~noslip_wall() override;
22
23 void setup(const WxCryptSet& wxc) override;
24
25 const std::vector<int>& getInputVariableIndexes(int flag) const override
26 {
27 return _variables;
28 }
29 const std::vector<int>& getOutputVariableIndexes(int flag) const override
30 {
31 return _variables;
32 }
33
34 // redefinition of bc
35 void bc_q(const real* q_in,
36 const real* aux_in,
37 const real* aux_out,
38 const solverVariables_t* pFV,
39 real* q_out) const override;
40
41protected:
43 std::vector<real> _wallVelocity;
44
45 std::vector<int> _variables;
46
47private:
48 noslip_wall& operator=(const noslip_wall& var);
49 noslip_wall(const noslip_wall& var);
50};
51} // namespace bc
52} // namespace five_moment
53} // namespace apps
54} // namespace wxm
55
56#endif // WXM_APPS_5MOMENT_BC_NOSLIP_WALL_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: noslip_wall.h:17
std::vector< real > _wallVelocity
Definition: noslip_wall.h:43
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: noslip_wall.h:25
real _gas_gamma
Definition: noslip_wall.h:42
void setup(const WxCryptSet &wxc) override
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 > _variables
Definition: noslip_wall.h:45
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: noslip_wall.h:29
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