Adaptive geometric integration applied to a 3D micromagnetic solver