WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_orszag_tang_mhd.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_ORSZAG_TANG_MHD_H
2#define WMICFUNCTION_ORSZAG_TANG_MHD_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
12{
13public:
20
27
34 void setup(const WxCryptSet& wxc);
35
43 void applyFunction(const real* position, real* value) const;
44
45private:
46 real _rho;
47 real _P;
48 real _vz;
49 real _Bz;
50
51 /* real _transitionWidth; */
52
53 real _gas_gamma;
54 real _gyro_param;
55 real _skin_depth_param;
56
57 /* std::vector<real> _direction; */
58 /* std::vector<real> _center; */
59};
60
61#endif // WMICFUNCTION_ORSZAG_TANG_MHD_H
Definition: wmicfunction_orszag_tang_mhd.h:12
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
WmICFunction_Orszag_Tang_MHD()
Create new WmICFunction_Orszag_Tang_MHD.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Orszag_Tang_MHD object using supplied cryptset.
~WmICFunction_Orszag_Tang_MHD()
Destroy WmICFunction_Orszag_Tang_MHD.
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