Skip to content

Commit

Permalink
added excretion to diagnostic of flux from benthic fauna to POC
Browse files Browse the repository at this point in the history
  • Loading branch information
r-millington committed Jun 26, 2023
1 parent 6e68f07 commit 6e824d9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/benthic_fauna.F90
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,10 @@ subroutine do_bottom(self,_ARGUMENTS_DO_BOTTOM_)

_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYKIn,excess_n)
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYK1p,excess_p)
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYQPc,mortflux*cP+excess_c)
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYQPn,mortflux*cP*self%qnc)
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYQPp,mortflux*cP*self%qpc)
! fluxes from fauna to POC
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYQPc,mortflux*cP+excess_c+fBTYc-nfBTYc)
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYQPn,mortflux*cP*self%qnc+sum(grossfluxn)-sum(netfluxn))
_SET_HORIZONTAL_DIAGNOSTIC_(self%id_fYQPp,mortflux*cP*self%qpc+sum(grossfluxp) - sum(netfluxp))

if (.not.legacy_ersem_compatibility) then
! Alkalinity contributions: +1 for NH4, -1 for PO4
Expand Down

0 comments on commit 6e824d9

Please sign in to comment.