Numerical investigations on the switching behavior of magnetic tunnel junctions in the quasi-static and dynamic regime