WARPXM v1.10.0
Loading...
Searching...
No Matches
rti_instability.h
Go to the documentation of this file.
1#ifndef RTI_INSTABILITY_H
2#define RTI_INSTABILITY_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
11namespace wxm
12{
13namespace functions
14{
15namespace five_moment
16{
17
19{
20public:
26
32
38 void setup(const WxCryptSet& wxc);
39
46 void applyFunction(const real* position, real* value) const;
47
48private:
49 real _gamma;
50 real _mass;
51 real _charge;
52 real _n_bottom;
53 real _n_top;
54 real _temperature_top;
55 real _temperature_bottom;
56 real _pressure_top;
57 real _pressure_bottom;
58 real _shear_velocity;
59 real _drift_velocity;
60 std::vector<real> _perturbation_center;
61 real _perturbation_wavelength;
62 real _perturbation_amplitude;
63 real _perturbation_transition_width;
64};
65
66} // namespace five_moment
67} // namespace functions
68} // namespace wxm
69
70#endif // RTI_INSTABILITY_H
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Definition: rti_instability.h:19
void setup(const WxCryptSet &wxc)
Setup rti_instability object using supplied cryptset.
rti_instability()
Create new rti_instability.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~rti_instability()
Destroy rti_instability.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11