WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_mhd_custom.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_MHD_CUSTOM_H
2#define WMICFUNCTION_MHD_CUSTOM_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
12{
13public:
19
25
31 void setup(const WxCryptSet& wxc);
32
39 void applyFunction(const real* position, real* value) const;
40
41private:
42 real _gas_gamma;
43 real _skin_depth_param;
44};
45
46#endif // WMICFUNCTION_MHD_CUSTOM_H
Definition: wmicfunction_mhd_custom.h:12
WmICFunction_Mhd_Custom()
Create new WmICFunction_Mhd_Custom.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_Mhd_Custom 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.
~WmICFunction_Mhd_Custom()
Destroy WmICFunction_Mhd_Custom.
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