WARPXM v1.10.0
Loading...
Searching...
No Matches
pulse_outlet.h
Go to the documentation of this file.
1#ifndef WXM_PULSE_OUTLET_IMHD_H
2#define WXM_PULSE_OUTLET_IMHD_H
3
5
6namespace wxm
7{
8namespace apps
9{
10namespace imhd
11{
12namespace bc
13{
19{
20public:
22 {
24 }
25
26 void setup(const WxCryptSet& wxc) override;
27
28 const std::vector<int>& getInputVariableIndexes(int flag) const override
29 {
30 return in_variables_;
31 }
32
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35 return out_variables_;
36 }
37
38 void bc_q(const real* q_in,
39 const real* aux_in,
40 const real* aux_out,
41 const solverVariables_t* pFV,
42 real* q_out) const override;
43
44protected:
45 std::vector<int> in_variables_;
46 std::vector<int> out_variables_;
47
48 // imposed density
50
51 // imposed pressure
53
54private:
55 pulse_outlet& operator=(const pulse_outlet& var) = delete;
56 pulse_outlet(const pulse_outlet& var) = delete;
57};
58} // namespace bc
59} // namespace imhd
60} // namespace apps
61} // namespace wxm
62
63#endif
Base Class for physics applications.
Definition: wmapplication.h:93
std::vector< int > _allowedFlags
Definition: wmapplication.h:234
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Plasma slug acceleration outlet boundary condition for ideal MHD Only difference between this and pul...
Definition: pulse_outlet.h:19
std::vector< int > out_variables_
Definition: pulse_outlet.h:46
pulse_outlet()
Definition: pulse_outlet.h:21
real rho
Definition: pulse_outlet.h:49
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: pulse_outlet.h:28
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.
real P
Definition: pulse_outlet.h:52
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: pulse_outlet.h:33
std::vector< int > in_variables_
Definition: pulse_outlet.h:45
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
@ WMAPPLICATIONFLAG_BC_Q
Definition: wmapplication.h:28
#define real
Definition: wmoclunstructuredreconstruction.h:11