WARPXM v1.10.0
Loading...
Searching...
No Matches
freeslip_wall_bc_flux.h
Go to the documentation of this file.
1#pragma once
2
3// wxm includes
6
7// STL includes
8#include <memory>
9
10namespace wxm
11{
12namespace apps
13{
14namespace bc
15{
16namespace flux_bc
17{
18namespace five_moment
19{
20
36{
37public:
43
49
54 void setup(const WxCryptSet& wxc) override;
55
61 const std::vector<int>& getInputVariableIndexes(int flag) const override
62 {
63 return _variables;
64 }
65
71 const std::vector<int>& getOutputVariableIndexes(int flag) const override
72 {
73 return _variables;
74 }
75
86 const real* q_r,
87 const real* aux_l,
88 const real* aux_r,
89 const solverVariables_t* pFV,
90 real* numericalFlux) const override;
91
92protected:
94 std::unique_ptr<wxm::apps::five_moment::AppSetupHelper> _setup_helper;
95
100 std::vector<int> _variables;
101
102private:
105};
106} // namespace five_moment
107} // namespace flux_bc
108} // namespace bc
109} // namespace apps
110} // 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
Freeslip Wall Flux Boundary Condition.
Definition: freeslip_wall_bc_flux.h:36
real _min_pressure
Minimum normalized pressure used in calculations.
Definition: freeslip_wall_bc_flux.h:97
std::vector< int > _variables
Definition: freeslip_wall_bc_flux.h:100
std::unique_ptr< wxm::apps::five_moment::AppSetupHelper > _setup_helper
Helper object that automates common setup routines.
Definition: freeslip_wall_bc_flux.h:94
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: freeslip_wall_bc_flux.h:61
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: freeslip_wall_bc_flux.h:71
real bcNumericalFlux(const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override
Redefinition of the boundary condition numerical flux.
real _min_density
Minimum normalized mass density used in calculations.
Definition: freeslip_wall_bc_flux.h:96
real _gas_gamma
Adiabatic index.
Definition: freeslip_wall_bc_flux.h:98
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