 
 
 
 
 
 
 
  
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 (![[*]](../icons/crossref.gif) ), the predictor is
), the predictor is
 is the discretization time step and
 is the discretization time step and
 
 
 is the variance of the stochastic thermal field (
 is the variance of the stochastic thermal field (![[*]](../icons/crossref.gif) ), which is given by (
), which is given by (![[*]](../icons/crossref.gif) ).
).
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 (![[*]](../icons/crossref.gif) ) when interpreted in the sense of Stratonovich.
) 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.
, which renders the Heun scheme numerically more stable than Euler type schemes.
 
 
 
 
 
 
