The improved Euler or Heun method [39] is an example of a predictor-corrector method. The predictor is given by a simple Euler type integration. If we consider the Langevin equation (), the predictor is
The Heun scheme is then given by
The stochastic Heun scheme converges in quadratic mean to the solution of the general system of Langevin equations () when interpreted in the sense of Stratonovich.
To conclude, there are two main reasons for the choice of the Heun scheme for the numerical integration of the stochastic Landau-Lifshitz equation: First, the Heun scheme yields Stratonovich solutions of the stochastic differential equations without alterations to the deterministic drift term. Secondly, the deterministic part of the differential equations is integrated with a second order accuracy in , which renders the Heun scheme numerically more stable than Euler type schemes.