WARPXM v1.10.0
Loading...
Searching...
No Matches
pulse_inlet.h
Go to the documentation of this file.
1#ifndef WXM_PULSE_INLET_IMHD_H
2#define WXM_PULSE_INLET_IMHD_H
3
5
6namespace wxm
7{
8namespace apps
9{
10namespace imhd
11{
12namespace bc
13{
18{
19public:
21 {
23 }
24
25 void setup(const WxCryptSet& wxc) override;
26
27 const std::vector<int>& getInputVariableIndexes(int flag) const override
28 {
29 return in_variables_;
30 }
31
32 const std::vector<int>& getOutputVariableIndexes(int flag) const override
33 {
34 return out_variables_;
35 }
36
37 void bc_q(const real* q_in,
38 const real* aux_in,
39 const real* aux_out,
40 const solverVariables_t* pFV,
41 real* q_out) const override;
42
43protected:
44 std::vector<int> in_variables_;
45 std::vector<int> out_variables_;
46
47 // imposed density
49
50 // imposed pressure
52
53 // imposed Bz
55
57
58private:
59 pulse_inlet& operator=(const pulse_inlet& var) = delete;
60 pulse_inlet(const pulse_inlet& var) = delete;
61};
62} // namespace bc
63} // namespace imhd
64} // namespace apps
65} // namespace wxm
66
67#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 inlet boundary condition for ideal MHD.
Definition: pulse_inlet.h:18
void setup(const WxCryptSet &wxc) override
pulse_inlet()
Definition: pulse_inlet.h:20
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: pulse_inlet.h:27
std::vector< int > out_variables_
Definition: pulse_inlet.h:45
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: pulse_inlet.h:32
real P
Definition: pulse_inlet.h:51
real Bz
Definition: pulse_inlet.h:54
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 > in_variables_
Definition: pulse_inlet.h:44
real rho
Definition: pulse_inlet.h:48
real ramp_time
Definition: pulse_inlet.h:56
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