added bathymetry effects to computeFluxDelta function