Shock Wave Magnets