WARPXM v1.10.0
Loading...
Searching...
No Matches
sheath_bc.h
Go to the documentation of this file.
1#pragma once
2
3// wxm includes
6
7// STL includes
8#include <memory>
9
10namespace wxm
11{
12namespace apps
13{
14namespace five_moment
15{
16namespace bc
17{
30{
31public:
33
34 ~sheath_bc() override;
35
36 void setup(const WxCryptSet& wxc) override;
37
38 const std::vector<int>& getInputVariableIndexes(int flag) const override
39 {
40 return _input_variables;
41 }
42 const std::vector<int>& getOutputVariableIndexes(int flag) const override
43 {
44 return _output_variables;
45 }
46
47 // redefinition of bc
48 void bc_q(const real* q_in,
49 const real* aux_in,
50 const real* aux_out,
51 const solverVariables_t* pFV,
52 real* q_out) const override;
53
54protected:
56 std::unique_ptr<AppSetupHelper> _setup_helper;
57
60 std::vector<real> _params;
64 std::vector<int> _input_variables;
65 std::vector<int> _output_variables;
66
67private:
68 sheath_bc& operator=(const sheath_bc& var);
69 sheath_bc(const sheath_bc& var);
70};
71} // namespace bc
72} // namespace five_moment
73} // namespace apps
74} // 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
Sets BC for electron-ion-neutral model.
Definition: sheath_bc.h:30
std::vector< int > _input_variables
Definition: sheath_bc.h:64
std::unique_ptr< AppSetupHelper > _setup_helper
< Helper object that automates common setup routines.
Definition: sheath_bc.h:56
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: sheath_bc.h:38
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 _min_density
Minimum normalized mass density used in calculations.
Definition: sheath_bc.h:61
int _var_type
Definition: sheath_bc.h:59
std::vector< real > _params
Definition: sheath_bc.h:60
int _bc_type
Definition: sheath_bc.h:58
real _min_pressure
Minimum normalized pressure used in calculations.
Definition: sheath_bc.h:62
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: sheath_bc.h:42
std::vector< int > _output_variables
Definition: sheath_bc.h:65
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