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