Skip to content

Commit

Permalink
Merged in commits from dev/offline_tracers which introduce two differ…
Browse files Browse the repository at this point in the history
…ent ways of dealing with residual mass fluxes if advection fails to converge
  • Loading branch information
Andrew Shao committed Oct 24, 2016
1 parent 8fc1698 commit 7319c0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tracer/MOM_offline_control.F90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 7319c0f

Please sign in to comment.