WARPXM v1.10.0
Loading...
Searching...
No Matches
multiplier_bc.h
Go to the documentation of this file.
1#ifndef WXM_MULTIPLER_BC_H
2#define WXM_MULTIPLER_BC_H
3
5
6namespace wxm
7{
8namespace apps
9{
11{
12public:
14
15 void setup(const WxCryptSet& wxc) override;
16
17 const std::vector<int>& getInputVariableIndexes(int flag) const override
18 {
19 return _in_vars;
20 }
21 const std::vector<int>& getOutputVariableIndexes(int flag) const override
22 {
23 return _out_vars;
24 }
25
26 void bc_q(const real* q_in,
27 const real* aux_in,
28 const real* aux_out,
29 const solverVariables_t* pFV,
30 real* q_out) const override;
31
32private:
33 std::vector<int> _in_vars;
34 std::vector<int> _out_vars;
35
36 real _multiplier;
37};
38} // namespace apps
39} // namespace wxm
40
41#endif
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: multiplier_bc.h:11
void setup(const WxCryptSet &wxc) override
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: multiplier_bc.h:21
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.
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: multiplier_bc.h:17
list apps
Definition: shock_tube.py:33
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