WARPXM v1.10.0
Loading...
Searching...
No Matches
imhd_to_maxwell.h
Go to the documentation of this file.
1#ifndef WXM_APPS_MHD_TO_MAXWELL_H
2#define WXM_APPS_MHD_TO_MAXWELL_H
3
4// Wm includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace maxwell
12{
13
25{
26public:
28
29 ~imhd_to_maxwell() override;
30
31 void setup(const WxCryptSet& wxc) override;
32
33 const std::vector<int>& getInputVariableIndexes(int flag) const override
34 {
35 return input_variables_;
36 }
37 const std::vector<int>& getOutputVariableIndexes(int flag) const override
38 {
39 return out_variables_;
40 }
41
42 void bc_q(const real* q_in,
43 const real* aux_in,
44 const real* aux_out,
45 const solverVariables_t* pFV,
46 real* q_out) const override;
47
48 void evaluate_function(const real* q_in,
49 const real* aux,
50 const solverVariables_t* pFV,
51 real* q_out) const override;
52
53protected:
54 std::vector<int> input_variables_;
55 std::vector<int> out_variables_;
56
57private:
58 imhd_to_maxwell& operator=(const imhd_to_maxwell& var);
60};
61} // namespace maxwell
62} // namespace apps
63} // namespace wxm
64
65#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
virtual boundary condition for converting ideal MHD variables to Maxwell variables
Definition: imhd_to_maxwell.h:25
void setup(const WxCryptSet &wxc) override
std::vector< int > input_variables_
Definition: imhd_to_maxwell.h:54
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: imhd_to_maxwell.h:33
void evaluate_function(const real *q_in, const real *aux, const solverVariables_t *pFV, real *q_out) const override
std::vector< int > out_variables_
Definition: imhd_to_maxwell.h:55
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: imhd_to_maxwell.h:37
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