Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions columnphysics/icepack_algae.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1860,13 +1860,10 @@ subroutine algal_dyn (dt, &
U_Nit(k) = U_Nit_f(k)*U_Nit_tot
U_Sil(k) = U_Sil_f(k)*U_Sil_tot
U_Fe(k) = U_Fe_f(k)*U_Fe_tot

if (n_fed == 0) then
if (R_Si2N(k) > c0) then
grow_N(k) = min(U_Sil(k)/R_Si2N(k),U_Nit(k) + U_Am(k), U_Fe(k)/R_Fe2N(k))
else
grow_N(k) = min(U_Nit(k) + U_Am(k),U_Fe(k)/R_Fe2N(k))
endif
if (R_Si2N(k) > c0) then
grow_N(k) = min(U_Sil(k)/R_Si2N(k),U_Nit(k) + U_Am(k), U_Fe(k)/R_Fe2N(k))
else
grow_N(k) = min(U_Nit(k) + U_Am(k),U_Fe(k)/R_Fe2N(k))
endif

fr_Am(k) = c0
Expand Down