WARPXM v1.10.0
Loading...
Searching...
No Matches
ein_bc.h
Go to the documentation of this file.
1#ifndef WXM_APPS_5MOMENT_BC_EIN_BC_H
2#define WXM_APPS_5MOMENT_BC_EIN_BC_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace five_moment
12{
13namespace bc
14{
15/*
16 *
17 * Sets BC for electron-ion-neutral model
18 *
19 */
20class EinBc : public WmApplication
21{
22public:
24
25 ~EinBc() override;
26
27 void setup(const WxCryptSet& wxc) override;
28
29 const std::vector<int>& getInputVariableIndexes(int flag) const override
30 {
31 return _input_variables;
32 }
33 const std::vector<int>& getOutputVariableIndexes(int flag) const override
34 {
35 return _output_variables;
36 }
37
38 // redefinition of bc
39 void bc_q(const real* q_in,
40 const real* aux_in,
41 const real* aux_out,
42 const solverVariables_t* pFV,
43 real* q_out) const override;
44
45protected:
48 std::vector<real> _params;
49 std::vector<int> _input_variables;
50 std::vector<int> _output_variables;
51
52private:
53 EinBc& operator=(const EinBc& var) = delete;
54 EinBc(const EinBc& var) = delete;
55};
56} // namespace bc
57} // namespace five_moment
58} // namespace apps
59} // namespace wxm
60
61#endif // WXM_APPS_5MOMENT_BC_EIN_BC_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: ein_bc.h:21
void setup(const WxCryptSet &wxc) override
std::vector< int > _input_variables
Definition: ein_bc.h:49
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: ein_bc.h:33
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: ein_bc.h:29
int _var_type
Definition: ein_bc.h:47
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.
int _bc_type
Definition: ein_bc.h:46
std::vector< int > _output_variables
Definition: ein_bc.h:50
std::vector< real > _params
Definition: ein_bc.h:48
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