The effect of shock waves on diamagnetic fabrics