Opened 11 years ago

Closed 11 years ago

#581 closed bug (Fixed)

Corrected bug in the adjoint of the NPZD models

Reported by: arango Owned by: arango
Priority: major Milestone: Adjoint Based Algorithms
Component: Adjoint Version: 3.6
Keywords: Cc:

Description

A small bug was corrected in ad_npzd_Franks.h, ad_npzd_powell.h, and ad_npzd_iron.h when updating the global biological tracers:

We need to have:

              ad_cff=ad_cff+Hz(i,j,k)*ad_t(i,j,k,nnew,ibio)
instead of
              ad_cff=add_cff+Hz(i,j,k)*ad_t(i,j,k,nnew,ibio)

We need to use ad_cff and not add_cff. Many thanks to Ha Joon Song for reporting this typo.

Change History (1)

comment:1 by arango, 11 years ago

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.