Energy Flow in Thin Shell Implosions and Explosions.