WARPXM v1.10.0
Loading...
Searching...
No Matches
pulse_inlet.h
Go to the documentation of this file.
1#ifndef WXM_PULSE_INLET_5MOM_H
2#define WXM_PULSE_INLET_5MOM_H
3
5
6namespace wxm
7{
8namespace apps
9{
10namespace five_moment
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 densities
49
50 // imposed pressures
51 real Ps[2];
52
53 // imposed Bz
55
56 // Bz ramp time
58
59private:
60 pulse_inlet& operator=(const pulse_inlet& var) = delete;
61 pulse_inlet(const pulse_inlet& var) = delete;
62};
63} // namespace bc
64} // namespace five_moment
65} // namespace apps
66} // namespace wxm
67
68#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 two-fluid.
Definition: pulse_inlet.h:18
void setup(const WxCryptSet &wxc) override
std::vector< int > out_variables_
Definition: pulse_inlet.h:45
real rhos[2]
Definition: pulse_inlet.h:48
real Ps[2]
Definition: pulse_inlet.h:51
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: pulse_inlet.h:27
real Bz
Definition: pulse_inlet.h:54
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: pulse_inlet.h:32
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.
pulse_inlet()
Definition: pulse_inlet.h:20
real ramp_time
Definition: pulse_inlet.h:57
std::vector< int > in_variables_
Definition: pulse_inlet.h:44
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