The ISModel.CalcPressure function is maintained for backwards compatibility, but had an error in the call to the new postprocess.pressure.finite_diff function. This PR resolves that error, and also introduces a check to prevent users trying to change the values of nmax and lmax from those used in the original calculation.
The
ISModel.CalcPressure
function is maintained for backwards compatibility, but had an error in the call to the newpostprocess.pressure.finite_diff
function. This PR resolves that error, and also introduces a check to prevent users trying to change the values ofnmax
andlmax
from those used in the original calculation.