Skip to content

Commit 3c76780

Browse files
committed
Fix accidental doubling of faceMeltingFlux
Fix accidental doubling of faceMeltingFlux when calculating global stats.
1 parent 7b031c9 commit 3c76780

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

components/mpas-albany-landice/src/analysis_members/mpas_li_global_stats.F

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -369,18 +369,14 @@ subroutine li_compute_global_stats(domain, memberName, timeLevel, err)
369369
blockSumFloatingCalvingFlux = blockSumFloatingCalvingFlux + floatingCalvingThickness(iCell) * &
370370
areaCell(iCell) * rhoi / ( deltat / scyr )
371371

372-
! mass loss due to calving (kg yr^{-1})
372+
! mass loss due to face-melting (kg yr^{-1})
373373
blockSumFaceMeltingFlux = blockSumFaceMeltingFlux + faceMeltingThickness(iCell) * &
374374
areaCell(iCell) * rhoi / ( deltat / scyr )
375375
blockSumGroundedFaceMeltingFlux = blockSumGroundedFaceMeltingFlux + groundedFaceMeltingThickness(iCell) * &
376376
areaCell(iCell) * rhoi / ( deltat / scyr )
377377
blockSumFloatingFaceMeltingFlux = blockSumFloatingFaceMeltingFlux + floatingFaceMeltingThickness(iCell) * &
378378
areaCell(iCell) * rhoi / ( deltat / scyr )
379379

380-
! mass loss due to face-melting (kg yr^{-1})
381-
blockSumFaceMeltingFlux = blockSumFaceMeltingFlux + faceMeltingThickness(iCell) * &
382-
areaCell(iCell) * rhoi / ( deltat / scyr )
383-
384380
! max surface speed
385381
if (surfaceSpeed(iCell) > blockMaxSurfaceSpeed) then
386382
blockMaxSurfaceSpeed = surfaceSpeed(iCell)

0 commit comments

Comments
 (0)