Skip to content

Commit

Permalink
small bugfix, correcting sinking of phytoplankton and detritus into b…
Browse files Browse the repository at this point in the history
…enthos
  • Loading branch information
a270091 committed Sep 23, 2024
1 parent ab87ab0 commit cbc7f7e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/oce_ale_tracer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -930,15 +930,17 @@ subroutine ver_sinking_recom_benthos(tr_num,mesh)
tracer_id(tr_num)==1006 ) then !ipchl

Vben = VPhy
if (allow_var_sinking) Vben = Vdet_a * abs(zbar_3d_n(:,n)) + VPhy
! Error, phytoplankton and detritus sinking is constant, does not increase
! if (allow_var_sinking) Vben = Vdet_a * abs(zbar_3d_n(:,n)) + VPhy

elseif(tracer_id(tr_num)==1013 .or. & !idian
tracer_id(tr_num)==1014 .or. & !idiac
tracer_id(tr_num)==1016 .or. & !idiasi
tracer_id(tr_num)==1015 ) then !idchl

Vben = VDia
if (allow_var_sinking) Vben = Vdet_a * abs(zbar_3d_n(:,n)) + VDia
! Error, see above
! if (allow_var_sinking) Vben = Vdet_a * abs(zbar_3d_n(:,n)) + VDia

! Constant vertical sinking for the second detritus class

Expand Down

0 comments on commit cbc7f7e

Please sign in to comment.