Skip to content

Commit

Permalink
added footloose bergy bits to grd%bergy_mass diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-huth committed Aug 25, 2021
1 parent b3e6395 commit 50d8c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icebergs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5138,7 +5138,7 @@ subroutine calculate_sum_over_bergs_diagnositcs(bergs, grd, berg, i, j)

!Mass of bergy bits
if (grd%id_bergy_mass>0 .or. bergs%add_weight_to_ocean)&
& grd%bergy_mass(i,j)=grd%bergy_mass(i,j)+berg%mass_of_bits/grd%area(i,j)*berg%mass_scaling ! kg/m2
& grd%bergy_mass(i,j)=grd%bergy_mass(i,j)+(berg%mass_of_bits+berg%mass_of_fl_bergy_bits)/grd%area(i,j)*berg%mass_scaling ! kg/m2

!Mass of footloose bits
if (grd%id_fl_bits_mass>0 .or. bergs%add_weight_to_ocean)&
Expand Down

0 comments on commit 50d8c28

Please sign in to comment.