A semi-analytical method of assessing the residual longitudinal strength of damaged ship hull