One aspect of the dynamics of a coast, partly protected by a row of groynes