Skip to content

Commit

Permalink
Additional bug fix to floe_area_c
Browse files Browse the repository at this point in the history
  • Loading branch information
dabail10 committed Oct 25, 2024
1 parent 1bff0fb commit 65ec921
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion columnphysics/icepack_fsd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,11 @@ subroutine icepack_init_fsd_bounds( &
floe_rad_c = (floe_rad_h+floe_rad_l)/c2

floe_area_l = c4*floeshape*floe_rad_l**2
floe_area_c = c4*floeshape*floe_rad_c**2
floe_area_h = c4*floeshape*floe_rad_h**2
! floe_area_c = c4*floeshape*floe_rad_c**2
! This is exactly in the middle of floe_area_h and floe_area_l
! Whereas the above calculation is closer to floe_area_l.
floe_area_c = (floe_area_h+floe_area_l)/c2

floe_binwidth = floe_rad_h - floe_rad_l

Expand Down

0 comments on commit 65ec921

Please sign in to comment.