Skip to content

Commit 2392676

Browse files
changed apnd for apond for neutral_drag_coeffs
1 parent f0e1cc2 commit 2392676

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

columnphysics/icepack_atmo.F90

+3-6
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,7 @@ end subroutine atmo_boundary_const
507507
!
508508
! changes: Andrew Roberts, NPS (RASM/CESM coupling and documentation)
509509

510-
subroutine neutral_drag_coeffs (apnd, hpnd, &
511-
ipnd, &
510+
subroutine neutral_drag_coeffs (apondn, &
512511
alvl, vlvl, &
513512
aice, vice, &
514513
vsno, aicen, &
@@ -526,9 +525,7 @@ subroutine neutral_drag_coeffs (apnd, hpnd, &
526525
use icepack_tracers, only: tr_pond
527526

528527
real (kind=dbl_kind), dimension (:), intent(in) :: &
529-
apnd ,& ! melt pond fraction of sea ice
530-
hpnd ,& ! mean melt pond depth over sea ice
531-
ipnd ,& ! mean ice pond depth over sea ice in cat n
528+
apondn ,& ! melt pond fraction of sea ice category
532529
alvl ,& ! level ice area fraction (of grid cell ?)
533530
vlvl ! level ice mean thickness
534531

@@ -666,7 +663,7 @@ subroutine neutral_drag_coeffs (apnd, hpnd, &
666663
if (tr_pond) then
667664
do n = 1,ncat
668665
! area of pond per unit area of grid cell
669-
apond = apond+apnd(n)*aicen(n)
666+
apond = apond+apondn(n)*aicen(n)
670667
enddo
671668
endif
672669

columnphysics/icepack_therm_vertical.F90

+1-3
Original file line numberDiff line numberDiff line change
@@ -2568,9 +2568,7 @@ subroutine icepack_step_therm1(dt, &
25682568
!-----------------------------------------------------------------
25692569

25702570
if (formdrag) then
2571-
!!!! This should take apond, not apnd, will fix in the next commit
2572-
call neutral_drag_coeffs (apnd , &
2573-
hpnd , ipnd , &
2571+
call neutral_drag_coeffs (apond , &
25742572
alvl , vlvl , &
25752573
aice , vice, &
25762574
vsno , aicen , &

0 commit comments

Comments
 (0)