WARPXM v1.10.0
Loading...
Searching...
No Matches
pulse.h
Go to the documentation of this file.
1#ifndef WX_IMHD_PULSE_H
2#define WX_IMHD_PULSE_H
3
5
6namespace wxm
7{
8namespace functions
9{
10namespace imhd
11{
26{
27 real rho_in, rho_out, P_in, P_out;
28 real gamma;
29 real radius;
30 real transition_width;
31 std::vector<real> center;
32
33public:
35
36 void setup(const WxCryptSet& wxc);
37
38 void applyFunction(const real* position, real* value) const;
39};
40} // namespace imhd
41} // namespace functions
42} // namespace wxm
43
44#endif
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
Initializes a simple plasma pulse.
Definition: pulse.h:26
void applyFunction(const real *position, real *value) const
This is the currently apply function call - recasts to real.
void setup(const WxCryptSet &wxc)
Setup WmICFunction object using supplied cryptset.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11