Application of potential flow to circular-crested weir