WARPXM v1.10.0
Loading...
Searching...
No Matches
rti_instability.h
Go to the documentation of this file.
1#ifndef wmapplication_rti_instability_h
2#define wmapplication_rti_instability_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace five_moment
14{
15
23{
24public:
30
35 ~RTI_Instability() override;
36
41 void setup(const WxCryptSet& wxc) override;
42
48 const std::vector<int>& getOutputVariableIndexes(int flag) const override
49 {
50 return _output_fluid;
51 }
52
60 void evaluate_function(const real* q,
61 const real* aux,
62 const solverVariables_t* pSV,
63 real* result) const override;
64
65protected:
66 std::vector<int> _output_fluid;
67
78 std::vector<real> _perturbation_center;
82
83private:
84 RTI_Instability& operator=(const RTI_Instability& var);
86};
87} // namespace five_moment
88} // namespace functions
89} // namespace apps
90} // namespace wxm
91
92#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
I think this is a combination of hydrodynamic Rayleigh-Taylor and Kelvin-Helmholtz instabilities?...
Definition: rti_instability.h:23
real _temperature_bottom
Definition: rti_instability.h:73
real _shear_velocity
Definition: rti_instability.h:76
real _drift_velocity
Definition: rti_instability.h:77
real _temperature_top
Definition: rti_instability.h:72
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: rti_instability.h:48
real _perturbation_amplitude
Definition: rti_instability.h:80
std::vector< real > _perturbation_center
Definition: rti_instability.h:78
real _gamma
Definition: rti_instability.h:68
real _n_bottom
Definition: rti_instability.h:70
real _pressure_bottom
Definition: rti_instability.h:75
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
std::vector< int > _output_fluid
Definition: rti_instability.h:66
void setup(const WxCryptSet &wxc) override
Setup.
real _mass
Definition: rti_instability.h:69
real _n_top
Definition: rti_instability.h:71
real _perturbation_wavelength
Definition: rti_instability.h:79
real _perturbation_transition_width
Definition: rti_instability.h:81
real _pressure_top
Definition: rti_instability.h:74
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