sarkas.time_evolution.integrators.Integrator.cyclotronic_zdir#

Integrator.cyclotronic_zdir(ptcls)[source]#

Update particles’ class using the cyclotronic algorithm in the case of a constant magnetic field along the \(z\) axis. For more info see eqs. (16) - (17) of Ref. [Patacchini and Hutchinson, 2009]

Parameters

ptcls (sarkas.particles.Particles) – Particles data.

Returns

potential_energy (float) – Total potential energy.