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 maxwell
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 _Bz_bottom;
50 real _Bz_top;
51 std::vector<real> _perturbation_center;
52 real _perturbation_wavelength;
53 real _perturbation_amplitude;
54 real _perturbation_transition_width;
55};
56
57} // namespace maxwell
58} // namespace functions
59} // namespace wxm
60
61#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
rti_instability()
Create new rti_instability.
void setup(const WxCryptSet &wxc)
Setup rti_instability object using supplied cryptset.
~rti_instability()
Destroy rti_instability.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11