WARPXM v1.10.0
Loading...
Searching...
No Matches
insulator_inlet_2d_cyl_bc.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6// STL includes
7#include <memory>
8
9namespace wxm
10{
11namespace apps
12{
13namespace rmhd
14{
15namespace bc
16{
25{
26public:
28
30
31 void setup(const WxCryptSet& wxc) override;
32
33 const std::vector<int>& getInputVariableIndexes(int flag) const override
34 {
35 return _variables;
36 }
37 const std::vector<int>& getOutputVariableIndexes(int flag) const override
38 {
39 return _variables;
40 }
41
42 const std::vector<int>& getAuxiliaryVariableIndexes(int flag) const override
43 {
44 return _iload_idx;
45 }
46
47 // redefinition of bc
48 void bc_q(const real* q_in,
49 const real* aux_in,
50 const real* aux_out,
51 const solverVariables_t* pFV,
52 real* q_out) const override;
53
54protected:
62 bool _noslip;
65 std::vector<real> _params;
66
67 std::vector<int> _variables;
68 std::vector<int> _iload_idx;
69
70 // pointer to subapplications
71 std::unique_ptr<WmApplication> _current_profile_app;
72
73private:
74 InsulatorInlet2DCyl& operator=(const InsulatorInlet2DCyl& var);
76};
77} // namespace bc
78} // namespace rmhd
79} // namespace apps
80} // 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
Sets inlet insulator BC in 2D z-r axisymmetric zpinch.
Definition: insulator_inlet_2d_cyl_bc.h:25
std::vector< int > _variables
Definition: insulator_inlet_2d_cyl_bc.h:67
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Definition: insulator_inlet_2d_cyl_bc.h:37
const std::vector< int > & getAuxiliaryVariableIndexes(int flag) const override
Definition: insulator_inlet_2d_cyl_bc.h:42
real _nout
Definition: insulator_inlet_2d_cyl_bc.h:56
std::vector< real > _params
Definition: insulator_inlet_2d_cyl_bc.h:65
std::unique_ptr< WmApplication > _current_profile_app
Definition: insulator_inlet_2d_cyl_bc.h:71
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.
real _Tout
Definition: insulator_inlet_2d_cyl_bc.h:57
const std::vector< int > & getInputVariableIndexes(int flag) const override
Definition: insulator_inlet_2d_cyl_bc.h:33
real _Ai
Definition: insulator_inlet_2d_cyl_bc.h:59
void setup(const WxCryptSet &wxc) override
std::vector< int > _iload_idx
Definition: insulator_inlet_2d_cyl_bc.h:68
real _omct
Definition: insulator_inlet_2d_cyl_bc.h:58
real _Zi
Definition: insulator_inlet_2d_cyl_bc.h:61
int _current_profile_type
Definition: insulator_inlet_2d_cyl_bc.h:60
real _gas_gamma
Definition: insulator_inlet_2d_cyl_bc.h:55
bool _noslip
Boolean for Noslip on velocity.
Definition: insulator_inlet_2d_cyl_bc.h:62
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