A parabolic equation extended to account for rapidly varying topography