A barrier placed across a river to control water level