Closim, a simulation program on the closure of tidal basins