WARPXM v1.10.0
Loading...
Searching...
No Matches
1d1v_two_stream.h
Go to the documentation of this file.
1#ifndef wmicfunction_vlasov_two_stream_h
2#define wmicfunction_vlasov_two_stream_h
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
19{
20public:
26
32
38 void setup(const WxCryptSet& wxc);
39
46 void applyFunction(const real* position, real* value) const;
47
48private:
49 real _thermal_velocity; // v_th
50 real _density0; // n0
51 real _perturbation; // A
52 real _wave_number; // k
53 real _velocity_separation; // v'
54};
55
58#endif // wmicfunction_vlasov_two_stream_h
Base class for functions used in generating initial conditions.
Definition: 1d1v_two_stream.h:19
~WmICFunction_Vlasov_Two_Stream()
Destroy WmICFunction_Vlasov_Two_Stream.
WmICFunction_Vlasov_Two_Stream()
Create new WmICFunction_Vlasov_Two_Stream.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Vlasov_Two_Stream object using supplied cryptset.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
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
#define real
Definition: wmoclunstructuredreconstruction.h:11