This paper presents the comparison between two different numerical schemes for the analysis of switching phenomena in magnetic thin films. The first one is based on the finite-difference computation of the Landau-Lifshitz equation and on the magnetostatic field evaluation by fast Fourier transforms. The second one handles the spatial discretization of the Landau-Lifshitz equation by the edge finite-element method and solves the Poisson equation for the magnetostatic field with a hybrid finite element/boundary element technique.