A gradient-descent adjoint method for the reconstruction of boundary conditions in a river flow nitrification model Journal January, 2020