WARPXM v1.10.0
Loading...
Searching...
No Matches
conducting_wall.h
Go to the documentation of this file.
1#ifndef WXM_APPS_MAXWELL_CONDUCTINGWALL_H
2#define WXM_APPS_MAXWELL_CONDUCTINGWALL_H
3
4// Wm includes
6
7// STL includes
8#include <memory>
9
10namespace wxm
11{
12namespace apps
13{
14namespace maxwell
15{
16
18{
19public:
21
23
24 void setup(const WxCryptSet& wxc) override;
25
26 const std::vector<int>& getInputVariableIndexes(int flag) const override
27 {
28 return _variables;
29 }
30 const std::vector<int>& getOutputVariableIndexes(int flag) const override
31 {
32 return _variables;
33 }
34
35 // redefinition of bc
36 void bc_q(const real* q_in,
37 const real* aux_in,
38 const real* aux_out,
39 const solverVariables_t* pFV,
40 real* q_out) const override;
41
42protected:
43 std::vector<int> _variables;
44
46
47 // pointer to subapplications
48 std::unique_ptr<WmApplication> _Bn_ic_app;
49
50private:
51 conducting_wall_t& operator=(const conducting_wall_t& var);
53};
54} // namespace maxwell
55} // namespace apps
56} // namespace wxm
57
58#endif // WXM_APPS_MAXWELL_CONDUCTINGWALL_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: conducting_wall.h:18
bool _has_bn_ic_app
Definition: conducting_wall.h:45
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: conducting_wall.h:26
std::vector< int > _variables
Definition: conducting_wall.h:43
void setup(const WxCryptSet &wxc) override
std::unique_ptr< WmApplication > _Bn_ic_app
Definition: conducting_wall.h:48
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 > & getOutputVariableIndexes(int flag) const override
Definition: conducting_wall.h:30
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