1 |
C $Header: /u/gcmpack/MITgcm_contrib/verification_other/global_oce_biogeo_bling/code/BLING_OPTIONS.h,v 1.4 2016/10/20 15:39:53 mmazloff Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifndef BLING_OPTIONS_H |
5 |
#define BLING_OPTIONS_H |
6 |
#include "PACKAGES_CONFIG.h" |
7 |
#include "CPP_OPTIONS.h" |
8 |
|
9 |
#ifdef ALLOW_BLING |
10 |
C Package-specific Options & Macros go here |
11 |
|
12 |
c Active tracer for total phytoplankton biomass |
13 |
#undef ADVECT_PHYTO |
14 |
|
15 |
c Prevents negative values in nutrient fields |
16 |
#define BLING_NO_NEG |
17 |
|
18 |
c Assume that phytoplankton in the mixed layer experience |
19 |
c the average light over the mixed layer |
20 |
c (as in original BLING model) |
21 |
#define ML_MEAN_LIGHT |
22 |
|
23 |
c Assume that phytoplankton are homogenized in the mixed layer |
24 |
#define ML_MEAN_PHYTO |
25 |
|
26 |
c Sub grid scale sediments |
27 |
#undef USE_SGS_SED |
28 |
|
29 |
c Determine PAR from shortwave radiation from EXF package |
30 |
#undef USE_EXFQSW |
31 |
|
32 |
c Use local atmospheric pressure from EXF package for fugacity factor |
33 |
#undef USE_EXF_ATMPRES |
34 |
|
35 |
c Read atmospheric pCO2 values from EXF package |
36 |
#undef USE_EXFCO2 |
37 |
|
38 |
c For exf undefined cannot use exf fields |
39 |
#ifndef ALLOW_EXF |
40 |
#undef USE_EXFCO2 |
41 |
#undef USE_EXF_ATMPRES |
42 |
c this one ok. In FFIELDS.h. #undef USE_EXFQSW |
43 |
#endif |
44 |
|
45 |
c apply remineralization from diel vertical migration |
46 |
#define USE_BLING_DVM |
47 |
c In the DVM routine, assume fixed mixed layer depth |
48 |
c (so no need to calc MLD in bling_production) |
49 |
#undef FIXED_MLD_DVM |
50 |
|
51 |
c Simplify some parts of the code that are problematic |
52 |
c when using the adjoint |
53 |
#define BLING_ADJOINT_SAFE |
54 |
|
55 |
c For adjoint safe, use constant MLD in bling_dvm |
56 |
#ifdef BLING_ADJOINT_SAFE |
57 |
#define FIXED_MLD_DVM |
58 |
#endif |
59 |
|
60 |
#endif /* ALLOW_BLING */ |
61 |
#endif /* BLING_OPTIONS_H */ |
62 |
|
63 |
CEH3 ;;; Local Variables: *** |
64 |
CEH3 ;;; mode:fortran *** |
65 |
CEH3 ;;; End: *** |