WARPXM v1.10.0
Loading...
Searching...
No Matches
conducting_wall_freeslip.h
Go to the documentation of this file.
1#ifndef IMHD_CONDUCTING_WALL_FREESLIP_TEST_H
2#define IMHD_CONDUCTING_WALL_FREESLIP_TEST_H
3
4// WARPXM includes
6
7// STL includes
8#include <memory>
9
10namespace wxm
11{
12namespace apps
13{
14namespace imhd
15{
16namespace bc
17{
18
29{
30public:
35
40
45 void setup(const WxCryptSet& wxc) override;
46
52 const std::vector<int>& getInputVariableIndexes(int flag) const override
53 {
54 return _input_variables;
55 }
56
62 const std::vector<int>& getOutputVariableIndexes(int flag) const override
63 {
64 return _output_variables;
65 }
66
70 void bc_q(const real* q_in,
71 const real* aux_in,
72 const real* aux_out,
73 const solverVariables_t* pFV,
74 real* q_out) const override;
75
76protected:
80
81 std::vector<int> _input_variables;
82 std::vector<int> _output_variables;
83
84 // pointer to subapplications
85 std::unique_ptr<WmApplication> _ic_app;
86 std::unique_ptr<WmApplication> _density_app;
87 std::unique_ptr<WmApplication> _pressure_app;
88
89private:
92};
93} // namespace bc
94} // namespace imhd
95} // namespace apps
96} // namespace wxm
97
98#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
This applies the Conducting Wall Freeslip using a subapplication function around a WmICFunction which...
Definition: conducting_wall_freeslip.h:29
std::unique_ptr< WmApplication > _ic_app
Definition: conducting_wall_freeslip.h:85
real _min_pressure
Definition: conducting_wall_freeslip.h:79
void bc_q(const real *q_in, const real *aux_in, const real *aux_out, const solverVariables_t *pFV, real *q_out) const override
redefinition of boundary condition from WmApplication parent
real _gas_gamma
Definition: conducting_wall_freeslip.h:77
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: conducting_wall_freeslip.h:52
std::vector< int > _input_variables
Definition: conducting_wall_freeslip.h:81
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: conducting_wall_freeslip.h:62
void setup(const WxCryptSet &wxc) override
Setup.
std::unique_ptr< WmApplication > _pressure_app
Definition: conducting_wall_freeslip.h:87
std::vector< int > _output_variables
Definition: conducting_wall_freeslip.h:82
real _min_density
Definition: conducting_wall_freeslip.h:78
std::unique_ptr< WmApplication > _density_app
Definition: conducting_wall_freeslip.h:86
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