WARPXM v1.10.0
Loading...
Searching...
No Matches
rti_instability.h
Go to the documentation of this file.
1#ifndef wmapplication_functions_maxwell_rti_instability_h
2#define wmapplication_functions_maxwell_rti_instability_h
3
4// WARPXM includes
6
7namespace wxm
8{
9namespace apps
10{
11namespace functions
12{
13namespace maxwell
14{
22{
23public:
29
34 ~RTI_Instability() override;
35
40 void setup(const WxCryptSet& wxc) override;
41
47 const std::vector<int>& getOutputVariableIndexes(int flag) const override
48 {
49 return _output_fields;
50 }
51
59 void evaluate_function(const real* q,
60 const real* aux,
61 const solverVariables_t* pSV,
62 real* result) const override;
63
64protected:
65 std::vector<int> _output_fields;
66
69 std::vector<real> _perturbation_center;
73
74private:
75 RTI_Instability& operator=(const RTI_Instability& var);
77};
78} // namespace maxwell
79} // namespace functions
80} // namespace apps
81} // namespace wxm
82
83#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
Field setup for combination of hydrodynamic Rayleigh-Taylor and Kelvin-Helmholtz instabilities?...
Definition: rti_instability.h:22
void setup(const WxCryptSet &wxc) override
Setup.
real _perturbation_transition_width
Definition: rti_instability.h:72
real _perturbation_amplitude
Definition: rti_instability.h:71
real _perturbation_wavelength
Definition: rti_instability.h:70
std::vector< int > _output_fields
Definition: rti_instability.h:65
void evaluate_function(const real *q, const real *aux, const solverVariables_t *pSV, real *result) const override
Redefinition of the function evaluator.
std::vector< real > _perturbation_center
Definition: rti_instability.h:69
real _Bz_bottom
Definition: rti_instability.h:67
real _Bz_top
Definition: rti_instability.h:68
const std::vector< int > & getOutputVariableIndexes(int flag) const override
Grab output variable indices.
Definition: rti_instability.h:47
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