ASCOT5
|
Guiding center equations of motion. More...
Go to the source code of this file.
Functions | |
static DECLARE_TARGET_SIMD void | step_gceom (real *ydot, real *y, real mass, real charge, real *B_dB, real *E) |
Calculate guiding center equations of motion for a single particle. | |
Guiding center equations of motion.
Definition in file step_gceom.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, zetadot) |
y | input coordinates in a 6-length array (r, phi, z, vpar, mu, zeta) |
mass | mass [kg] |
charge | charge [C] |
B_dB | magnetic field and derivatives at the guiding center location |
E | electric field at the guiding center location |
Definition at line 26 of file step_gceom.h.