Theory of hydraulic jump