WARPXM v1.10.0
Loading...
Searching...
No Matches
conducting_wall_freeslip.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
6
7// STL includes
8#include <memory>
9
10namespace wxm
11{
12namespace apps
13{
14namespace mhd_two_temperature
15{
16namespace bc
17{
37{
38public:
43
48
53 void setup(const WxCryptSet& wxc) override;
54
60 const std::vector<int>& getInputVariableIndexes(int flag) const override
61 {
63 }
64
70 const std::vector<int>& getOutputVariableIndexes(int flag) const override
71 {
73 }
74
78 void bc_q(const real* q_in,
79 const real* aux_in,
80 const real* aux_out,
81 const solverVariables_t* pFV,
82 real* q_out) const override;
83
84protected:
86 std::unique_ptr<wxm::apps::mhd_two_temperature::AppSetupHelper> setup_helper_;
87
91
96
97 std::vector<int> fluid_variable_indices_;
98
100 std::unique_ptr<WmApplication> ic_app_;
101 std::unique_ptr<WmApplication> density_app_;
102 std::unique_ptr<WmApplication> pressure_app_;
103
104private:
105 ConductingWallFreeslip& operator=(const ConductingWallFreeslip& var);
107};
108} // namespace bc
109} // namespace mhd_two_temperature
110} // namespace apps
111} // 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
This applies the Conducting Wall Freeslip boundary condition on plasma fluid variables for the Two-Te...
Definition: conducting_wall_freeslip.h:37
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: conducting_wall_freeslip.h:70
std::unique_ptr< WmApplication > density_app_
Definition: conducting_wall_freeslip.h:101
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 min_pressure_floor_
Boolean for use of the curved arc boundary normal.
Definition: conducting_wall_freeslip.h:90
real gas_gamma_
Definition: conducting_wall_freeslip.h:88
std::unique_ptr< wxm::apps::mhd_two_temperature::AppSetupHelper > setup_helper_
Helper object that automates common setup routines.
Definition: conducting_wall_freeslip.h:86
std::unique_ptr< WmApplication > ic_app_
pointer to subapplications
Definition: conducting_wall_freeslip.h:100
std::unique_ptr< WmApplication > pressure_app_
Definition: conducting_wall_freeslip.h:102
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: conducting_wall_freeslip.h:60
std::vector< int > fluid_variable_indices_
Definition: conducting_wall_freeslip.h:97
real min_density_floor_
Definition: conducting_wall_freeslip.h:89
bool use_arc_
Definition: conducting_wall_freeslip.h:95
void setup(const WxCryptSet &wxc) override
Setup.
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