Modelling the impact of an offshore breakwater on the shore