Back to home page

darwin3

 
 

    


File indexing completed on 2026-01-27 18:49:43 UTC

view on githubraw file Latest commit 289ac961 on 2026-01-16 15:54:36 UTC
8fbfd1f382 Oliv*0001 #ifndef DARWIN_OPTIONS_H
                0002 #define DARWIN_OPTIONS_H
                0003 #include "PACKAGES_CONFIG.h"
                0004 #ifdef ALLOW_DARWIN
                0005 
                0006 #include "CPP_OPTIONS.h"
                0007 
                0008 CBOP
                0009 C    !ROUTINE: DARWIN_OPTIONS.h
                0010 C    !INTERFACE:
                0011 
                0012 C    !DESCRIPTION:
                0013 C options for darwin package
                0014 CEOP
                0015 
                0016 C tracer selection
                0017 
                0018 C enable nitrogen quotas for all plankton
                0019 #undef  DARWIN_ALLOW_NQUOTA
                0020 
                0021 C enable phosphorus quotas for all plankton
                0022 #undef  DARWIN_ALLOW_PQUOTA
                0023 
                0024 C enable iron quotas for all plankton
                0025 #undef  DARWIN_ALLOW_FEQUOTA
                0026 
                0027 C enable silica quotas for all plankton
                0028 #undef  DARWIN_ALLOW_SIQUOTA
                0029 
                0030 C enable chlorophyll quotas for all phototrophs
                0031 #undef  DARWIN_ALLOW_CHLQUOTA
                0032 
c7b6c66d45 Oliv*0033 C enable internal c store for all phototrophs; also enables exudation
                0034 #undef  DARWIN_ALLOW_CSTORE
                0035 #undef  DARWIN_ALLOW_CSTORE_DIAGS
                0036 
8fbfd1f382 Oliv*0037 C enable a dynamic CDOM tracer
                0038 #undef  DARWIN_ALLOW_CDOM
                0039 
                0040 C enable air-sea carbon exchange and Alk and O2 tracers
                0041 #undef  DARWIN_ALLOW_CARBON
                0042 
f50e50d718 Oliv*0043 C consistently use the total pH scale for carbon chemistry coefficients
                0044 #undef  DARWIN_TOTALPHSCALE
                0045 
f0a72e2151 Oliv*0046 C Compile Munhoven (2013) "Solvesaphe" package for pH/pCO2
                0047 C  can still select Follows et al (2006) solver in data.darwin,
                0048 C  but will use solvesaphe dissociation coefficient options.
                0049 #undef  DARWIN_SOLVESAPHE
                0050 
bee566be5e Oliv*0051 C this needs to be defined for coupling to atmospheric model:
                0052 #undef  DARWIN_USE_PLOAD
                0053 
a092808e6b shlo*0054 C enable macromolecular growth code; requires N, P and Fe quotas
                0055 #undef DARWIN_MACROMOLECULAR_GROWTH
6aa5674e10 Oliv*0056 
8fbfd1f382 Oliv*0057 
                0058 C optional bits
                0059 
                0060 C enable denitrification code
                0061 #undef  DARWIN_ALLOW_DENIT
                0062 
                0063 C enable separate exudation of individual elements
                0064 #undef  DARWIN_ALLOW_EXUDE
                0065 
                0066 C enable old virtualflux code for DIC and Alk
                0067 #undef  ALLOW_OLD_VIRTUALFLUX
                0068 
                0069 C reduce nitrate uptake by iron limitation factor
b5c67a2701 Oliv*0070 C only effective with both nitrogen and iron quota
                0071 C this option was used pre-2015 in the quota model, together with Geider,
                0072 C so the iron limitation factor is also applied to alpha_I
8fbfd1f382 Oliv*0073 #undef DARWIN_NITRATE_FELIMIT
                0074 
1fb46047a0 Oliv*0075 C allow organic matter to sink into bottom (sedimentize)
                0076 #undef  DARWIN_BOTTOM_SINK
                0077 
1c72adde5c Oliv*0078 C CDOM is in carbon units and follows POC
                0079 #define DARWIN_CDOM_UNITS_CARBON
                0080 
a3709ed096 Oliv*0081 C include code for reading nutrient runoff from files
e79020cc6e Oliv*0082 #undef  DARWIN_NUTRIENT_RUNOFF
                0083 
289ac96103 Oliv*0084 C enable RADI sediment metamodel v1 (requires DARWIN_BOTTOM_SINK)
a092808e6b shlo*0085 #undef DARWIN_ALLOW_RADIv1
                0086 
289ac96103 Oliv*0087 C enable RADI sediment metamodel v2 (requires DARWIN_BOTTOM_SINK)
a092808e6b shlo*0088 #undef DARWIN_ALLOW_RADIv2
                0089 
5e7acb36b1 daat*0090 C include diel vertical migration code
                0091 #undef  DARWIN_ALLOW_DVM
                0092 
8fbfd1f382 Oliv*0093 
                0094 C light
                0095 
                0096 C compute average PAR in layer, assuming exponential decay
c2d8100160 Oliv*0097 C (ignored when radtrans package is used)
8fbfd1f382 Oliv*0098 #undef  DARWIN_AVPAR
                0099 
                0100 C enable GEIDER light code
                0101 #undef  DARWIN_ALLOW_GEIDER
                0102 
                0103 C use rho instead of acclimated Chl:C for chlorophyll synthesis
                0104 #undef  DARWIN_GEIDER_RHO_SYNTH
                0105 
c2d8100160 Oliv*0106 C initialize chl as in darwin2 (with radtrans package)
8fbfd1f382 Oliv*0107 #undef  DARWIN_CHL_INIT_LEGACY
                0108 
c2d8100160 Oliv*0109 C scattering coefficients are per Chlorophyll (with radtrans package)
8fbfd1f382 Oliv*0110 #undef  DARWIN_SCATTER_CHL
                0111 
                0112 C make diagnostics for instrinsic optical properties available
                0113 #undef  DARWIN_DIAG_IOP
                0114 
                0115 
                0116 C grazing
                0117 
                0118 C for quadratic grazing as in darwin2+quota
                0119 #undef  DARWIN_GRAZING_SWITCH
                0120 
                0121 C compute palat from size ratios
                0122 #undef  DARWIN_ALLOMETRIC_PALAT
                0123 
                0124 C turn off grazing temperature dependence
                0125 #undef  DARWIN_NOZOOTEMP
                0126 
                0127 
                0128 C temperature
                0129 
                0130 C turn off all temperature dependence
                0131 #undef  DARWIN_NOTEMP
                0132 
                0133 C select temperature version: 1, 2 or 3
                0134 #define DARWIN_TEMP_VERSION 1
                0135 
                0136 C restrict phytoplankton growth to a temperature range
                0137 #undef  DARWIN_TEMP_RANGE
                0138 
                0139 
                0140 C iron
                0141 
                0142 C restrict maximum free iron
                0143 #define DARWIN_MINFE
                0144 
                0145 C enable particle scavenging code
                0146 #undef  DARWIN_PART_SCAV
                0147 
                0148 C enable variable iron sediment source
                0149 #undef  DARWIN_IRON_SED_SOURCE_VARIABLE
                0150 
ad5342a8d6 Oliv*0151 C revert to old variable iron sediment source in terms of POP
                0152 #undef  DARWIN_IRON_SED_SOURCE_POP
                0153 
2c93eb88ef Oliv*0154 C add iron source from hydrothermal vents
                0155 #undef  DARWIN_ALLOW_HYDROTHERMAL_VENTS
                0156 
8fbfd1f382 Oliv*0157 
ee4178dfbe Oliv*0158 C diagnostics
                0159 
                0160 C include code for per-type diagnostics
                0161 #undef  DARWIN_DIAG_PERTYPE
                0162 
                0163 
8fbfd1f382 Oliv*0164 C debugging
                0165 
                0166 C turn on debugging output
                0167 #undef DARWIN_DEBUG
                0168 
                0169 C compute and print global element totals
                0170 #define DARWIN_ALLOW_CONS
                0171 
                0172 C value for unused traits
                0173 #define DARWIN_UNUSED 0
                0174 
714cf988dd Oliv*0175 C fill diagnostics for most tendency terms
                0176 #undef  DARWIN_DIAG_TENDENCIES
                0177 
8fbfd1f382 Oliv*0178 
                0179 C deprecated
                0180 
                0181 C base particle scavenging on POP as in darwin2
                0182 #undef  DARWIN_PART_SCAV_POP
                0183 
                0184 
                0185 C random trait generation
                0186 
                0187 C assign traits based on random numbers as in darwin2
                0188 #undef  DARWIN_RANDOM_TRAITS
                0189 
c2d8100160 Oliv*0190 C set traits for darwin2 2-species setup (requires DARWIN_RANDOM_TRAITS)
8fbfd1f382 Oliv*0191 #undef  DARWIN_TWO_SPECIES_SETUP
                0192 
c2d8100160 Oliv*0193 C set traits for darwin2 9-species setup (requires DARWIN_RANDOM_TRAITS)
8fbfd1f382 Oliv*0194 #undef  DARWIN_NINE_SPECIES_SETUP
                0195 
c2d8100160 Oliv*0196 C enable diazotrophy when using (requires DARWIN_RANDOM_TRAITS)
8fbfd1f382 Oliv*0197 #undef  DARWIN_ALLOW_DIAZ
                0198 
                0199 #endif /* ALLOW_DARWIN */
                0200 #endif /* DARWIN_OPTIONS_H */
                0201