Possible bug in writing out biological diagnostics file

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
hbzong
Posts: 36
Joined: Thu Oct 04, 2007 4:14 am
Location: Fathom Science
Contact:

Possible bug in writing out biological diagnostics file

#1 Unread post by hbzong »

There is a possible bug in routines fennel_mod.h.

! Set number of diagnostics terms.
!
NDbio3d=2
NDbio2d=0
# ifdef DENITRIFICATION
NDbio2d=NDbio2d+1
# endif
# ifdef CARBON
NDbio2d=NDbio2d+2
# endif
# ifdef OXYGEN
NDbio2d=NDbio2d+1
# endif

IF DIAGNOSTICS_BIO is defined and DENITRIFICATION, CARBON and OXYGEN are not defined. Then NDbio2d = 0. Array iDbio2 will be allocated as iDbio2(0).

Post Reply