From 7319c0f652f01c9e7009acc57e48b9942dfc688c Mon Sep 17 00:00:00 2001 From: Andrew Shao Date: Mon, 24 Oct 2016 13:25:08 -0400 Subject: [PATCH] Merged in commits from dev/offline_tracers which introduce two different ways of dealing with residual mass fluxes if advection fails to converge --- src/tracer/MOM_offline_control.F90 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tracer/MOM_offline_control.F90 b/src/tracer/MOM_offline_control.F90 index 279df71e63..88a2582204 100644 --- a/src/tracer/MOM_offline_control.F90 +++ b/src/tracer/MOM_offline_control.F90 @@ -889,6 +889,8 @@ end subroutine distribute_residual_vh_upwards !! number of iterations has been reached !! END ITERATION !! -# Repeat steps 1 and 2 +!! -# Redistribute any residual mass fluxes that remain after the advection iterations +!! in a barotropic manner, progressively upward through the water column. !! -# Force a remapping to the stored layer thicknesses that correspond to the snapshot of !! the online model at the end of an accumulation interval !! -# Reset T/S and h to their stored snapshotted values to prevent model drift @@ -914,6 +916,10 @@ end subroutine distribute_residual_vh_upwards !! - FIELDS_ARE_OFFSET: True if the time-averaged fields and snapshot fields are offset by one !! time level, probably not needed !! -NUM_OFF_ITER: Maximum number of iterations to do for the nonlinear advection scheme +!! -REDISTRIBUTE_METHOD: Redistributes any remaining horizontal fluxes throughout the rest of water column. +!! Options are 'barotropic' which "evenly distributes flux throughout the entire water +!! column,'upwards' which adds the maximum of the remaining flux in each layer above, +!! and 'none' which does no redistribution" end module MOM_offline_transport