The modelling of the approach of bores to a shoreline