sarkas.time_evolution.integrators.Integrator.magnetic_helpers#

Integrator.magnetic_helpers(coefficient)[source]#

Calculate the trigonometric functions of the magnetic integrators.

Parameters

coefficient (float) – Timestep coefficient.

Notes

This is useful for the Leapfrog magnetic algorithm and future Forest-Ruth and MacLachlan algorithms.