A nonlinear theory for the motion of hydrodynamic discontinuity surfaces