Skip to content

Commit

Permalink
added felim to diazo iron limitation to address issue #27 (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Stock <Charles.Stock@an002.princeton.rdhpcs.noaa.gov>
  • Loading branch information
charliestock and Charles Stock authored Apr 4, 2024
1 parent 6e6ed11 commit d4e20e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic_tracers/generic_COBALT.F90
Original file line number Diff line number Diff line change
Expand Up @@ -8276,7 +8276,7 @@ subroutine generic_COBALT_update_from_source(tracer_list,Temp,Salt,rho_dzt,dzt,h
do k = 1, nk ; do j = jsc, jec ; do i = isc, iec !{
n=DIAZO
phyto(n)%liebig_lim(i,j,k) = phyto(n)%o2lim(i,j,k)* &
min(phyto(n)%po4lim(i,j,k), phyto(n)%def_fe(i,j,k))
min(phyto(n)%po4lim(i,j,k), max(phyto(n)%def_fe(i,j,k),phyto(n)%felim(i,j,k)))
do n= 2, NUM_PHYTO !{
phyto(n)%liebig_lim(i,j,k) = min(phyto(n)%no3lim(i,j,k)+phyto(n)%nh4lim(i,j,k),&
phyto(n)%po4lim(i,j,k), max(phyto(n)%def_fe(i,j,k),phyto(n)%felim(i,j,k)))
Expand Down

0 comments on commit d4e20e4

Please sign in to comment.