Skip to content

Commit 65ec921

Browse files
committed
Additional bug fix to floe_area_c
1 parent 1bff0fb commit 65ec921

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

columnphysics/icepack_fsd.F90

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,11 @@ subroutine icepack_init_fsd_bounds( &
194194
floe_rad_c = (floe_rad_h+floe_rad_l)/c2
195195

196196
floe_area_l = c4*floeshape*floe_rad_l**2
197-
floe_area_c = c4*floeshape*floe_rad_c**2
198197
floe_area_h = c4*floeshape*floe_rad_h**2
198+
! floe_area_c = c4*floeshape*floe_rad_c**2
199+
! This is exactly in the middle of floe_area_h and floe_area_l
200+
! Whereas the above calculation is closer to floe_area_l.
201+
floe_area_c = (floe_area_h+floe_area_l)/c2
199202

200203
floe_binwidth = floe_rad_h - floe_rad_l
201204

0 commit comments

Comments
 (0)