An analysis of the processes of river bank erosion