|
ASCOT5
|
Guiding center equations of motion with MHD activity. More...
Go to the source code of this file.
Functions | |
| static DECLARE_TARGET_SIMD void | step_gceom_mhd (real *ydot, real *y, real mass, real charge, real *B_dB, real *E, real *mhd_dmhd, int aldforce) |
| Calculate guiding center equations of motion for a single particle. | |
Guiding center equations of motion with MHD activity.
Definition in file step_gceom_mhd.h.
|
inlinestatic |
Calculate guiding center equations of motion for a single particle.
| ydot | output right hand side of the equations of motion in a 6-length array (rdot, phidot, zdot, ppardot, mudot, chidot) |
| y | input coordinates in a 5-length array (r, phi, z, rhopar, mu) |
| mass | mass |
| charge | charge |
| B_dB | magnetic field and derivatives at the guiding center location |
| E | electric field at the guiding center location |
| mhd_dmhd | mhd perturbation information evaluated by mhd.c |
| aldforce | indicates whether Abraham-Lorentz-Dirac force is enabled |
Definition at line 29 of file step_gceom_mhd.h.