WARPXM v1.10.0
Loading...
Searching...
No Matches
set_floors_single_species.h
Go to the documentation of this file.
1#pragma once
2
3// WARPXM includes
5
6namespace wxm
7{
8namespace apps
9{
10namespace functions
11{
12namespace five_moment
13{
14
55{
56public:
62
68
73 void setup(const WxCryptSet& wxc) override;
74
80 const std::vector<int>& getInputVariableIndexes(int flag) const override
81 {
82 return _fluid;
83 }
84
90 const std::vector<int>& getOutputVariableIndexes(int flag) const override
91 {
92 return _fluid;
93 }
94
102 void evaluate_function(const real* q,
103 const real* aux,
104 const solverVariables_t* pSV,
105 real* result) const override;
106
107protected:
108 std::vector<int> _fluid;
114private:
115 SetFloorsSingleSpecies& operator=(const SetFloorsSingleSpecies& var) = delete;
117};
118
119} // namespace five_moment
120} // namespace functions
121} // namespace apps
122} // 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
Class to set Density and Pressure floors for a single species.
Definition: set_floors_single_species.h:55
const std::vector< int > & getInputVariableIndexes(int flag) const override
Grab input variable indices.
Definition: set_floors_single_species.h:80
real _p_min
Pressure floor.
Definition: set_floors_single_species.h:111
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
bool _eliminate_ke
Floor method toggle.
Definition: set_floors_single_species.h:112
void setup(const WxCryptSet &wxc) override
Setup.
std::vector< int > _fluid
Vector of fluid variable indices.
Definition: set_floors_single_species.h:108
real _rho_min
Mass density floor.
Definition: set_floors_single_species.h:110
real _gas_gamma
Ratio of specific heats.
Definition: set_floors_single_species.h:109
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: set_floors_single_species.h:90
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