Comet Lovejoy passed within 0.1 AU of the Sun without breaking up. The tail of the comet
wiggled due the magnetic field produces by the Sun's corona. Researchers were able to model the Sun's magnetic field produced by the corona and then model the comet and predict the effects of the field on the ionized gases in the tail.