Collision detection for the Faraday's Law simulation