From line 183 to 223, the fennel_mod.h says:
Code: Select all
#ifdef CARBON
# ifdef OXYGEN
# if defined PO4 && defined RIVER_DON
NBT=15
# elif defined RIVER_DON && !defined PO4
NBT=14
# elif defined PO4 && !defined RIVER_DON
NBT=13
# else
NBT=12
# endif
# else
# if defined PO4 && defined RIVER_DON
NBT=14
# elif defined RIVER_DON && !defined PO4
NBT=13
# elif defined PO4 && !defined RIVER_DON
NBT=12
# else
NBT=11
# endif
# endif
#else
# ifdef OXYGEN
# if defined PO4 && defined RIVER_DON
NBT=10
# elif defined PO4 || defined RIVER_DON
NBT=9
# else
NBT=8
# endif
# else
# if defined PO4 && defined RIVER_DON
NBT=9
# elif defined PO4 || defined RIVER_DON
NBT=8
# else
NBT=7
# endif
# endif
#endif
Code: Select all
NBT=7
#ifdef CARBON
NBT=NBT+5
#endif
#ifdef OXYGEN
NBT=NBT+1
#endif
#if defined PO4
NBT=NBT+1
#endif
#if defined RIVER_DON
NBT=NBT+1
#endif
This is a similar code with the end of fennel_mod.h (from line 504 to 526), but why does this end say that CARBON introduced 4 tracers not 5 ?
Code: Select all
# ifdef CARBON
iLDeC=ic+1
iSDeC=ic+2
iTIC_=ic+3
iTAlk=ic+4
ic=ic+4
...