Skip to content

Commit

Permalink
Revert "Calculate layerThickness after calving in RK loop"
Browse files Browse the repository at this point in the history
This reverts commit 5e23b98.
  • Loading branch information
trhille committed Nov 6, 2023
1 parent 5e23b98 commit 8604210
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,6 @@ subroutine li_time_integrator_forwardeuler_rungekutta(domain, err)
call mpas_pool_get_array(thermalPool, 'temperature', temperature)
call mpas_pool_get_array(thermalPool, 'waterFrac', waterFrac)
! get layerThickness after calving
call li_calculate_layerThickness(meshPool, thickness, layerThickness)
layerThicknessTmp(:,:) = layerThickness(:,:)
layerThickness(:,:) = rkSSPweights(rkStage) * layerThicknessPrev(:,:) + &
(1.0_RKIND - rkSSPweights(rkStage)) * layerThickness(:,:)
Expand Down

0 comments on commit 8604210

Please sign in to comment.