Water surface profile computation for compound channel having diverging floodplains