WARPXM v1.10.0
|
Initializes a simple plasma pulse. More...
#include <pulse.h>
Initializes a simple plasma pulse.
Kind | imhd_plasma_pulse |
DensityInside | |
DensityOutside | |
PressureInside | |
PressureOutside | |
gamma | |
Radius | |
TransitionWidth | |
Center |
Public Member Functions | |
PlasmaPulse () | |
void | setup (const WxCryptSet &wxc) |
Setup WmICFunction object using supplied cryptset. | |
void | applyFunction (const real *position, real *value) const |
This is the currently apply function call - recasts to real. | |
Public Member Functions inherited from WmICFunction | |
WmICFunction () | |
Create new WmICFunction. | |
virtual | ~WmICFunction () |
Destroy WmICFunction. | |
virtual void | setup (const WxCryptSet &wxc) |
Setup WmICFunction object using supplied cryptset. | |
const std::string & | getName () const |
Get name of this function. | |
int | getNumArguments () const |
Get number of arguments returned by this icFunction. | |
template<typename T > | |
void | apply (const real position[3], T *value) const |
Evaluate the function at a position and return the result through a pointer position and value must be double precision. | |
Additional Inherited Members | |
virtual void | applyFunction (const real *position, real *value) const =0 |
This is the currently apply function call - recasts to real. | |
Protected Attributes inherited from WmICFunction | |
std::string | _name |
int | _numArgs |
real * | _rvalues |
wxm::functions::imhd::PlasmaPulse::PlasmaPulse | ( | ) |
|
virtual |
This is the currently apply function call - recasts to real.
p | Position to evaluate function |
v | Value evaluated at position (must be allocated outside function) |
Implements WmICFunction.
|
virtual |
Setup WmICFunction object using supplied cryptset.
wxc | Cryptset to use for setting |
Reimplemented from WmICFunction.