1 |
|
2 |
C |
3 |
C CPP flags controlling which code is included in the files that |
4 |
C will be compiled. |
5 |
C |
6 |
C ******************************************************************** |
7 |
C *** ECCO Package *** |
8 |
C ******************************************************************** |
9 |
C |
10 |
C o include dump of snap shots for checks |
11 |
#undef ALLOW_SNAPSHOTS |
12 |
|
13 |
#undef ALLOW_ECCO_FORWARD_RUN |
14 |
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
15 |
#define ALLOW_ECCO_OPTIMIZATION |
16 |
|
17 |
C >>> Do a long protocol. |
18 |
#undef ECCO_VERBOSE |
19 |
|
20 |
C >>> Just do a "dry" run ( useful for testing ). |
21 |
#undef ALLOW_NO_DYNAMICS |
22 |
C >>> Use the Yearly-Monthly-Daily-Stepping call tree. |
23 |
#undef ALLOW_YMDS_TREE |
24 |
C >>> Do not call stepping |
25 |
#define ALLOW_STEPPING_CALL |
26 |
|
27 |
C ******************************************************************** |
28 |
C *** Adjoint Support Package *** |
29 |
C ******************************************************************** |
30 |
|
31 |
C o Include/exclude code in order to be able to automatically |
32 |
C differentiate the MITgcmUV by using the Tangent Linear and |
33 |
C Adjoint Model Compiler (TAMC). |
34 |
#define INCLUDE_AUTODIFF_PACKAGE |
35 |
C |
36 |
#define ALLOW_AUTODIFF_TAMC |
37 |
C |
38 |
C >>> Checkpointing as handled by TAMC |
39 |
#define ALLOW_TAMC_CHECKPOINTING |
40 |
C |
41 |
C >>> Extract adjoint state |
42 |
#undef ALLOW_AUTODIFF_MONITOR |
43 |
C |
44 |
C o use divided adjoint to split adjoint computations |
45 |
#undef ALLOW_DIVIDED_ADJOINT |
46 |
#undef ALLOW_DIVIDED_ADJOINT_MPI |
47 |
|
48 |
C ******************************************************************** |
49 |
C *** Calender Package *** |
50 |
C ******************************************************************** |
51 |
C |
52 |
C CPP flags controlling which code is included in the files that |
53 |
C will be compiled. |
54 |
|
55 |
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
56 |
|
57 |
C ******************************************************************** |
58 |
C *** Cost function Package *** |
59 |
c ******************************************************************** |
60 |
C |
61 |
#define ALLOW_COST |
62 |
|
63 |
#ifdef ALLOW_COST |
64 |
C >>> Use the EGM-96 geoid error covariance. |
65 |
# define ALLOW_EGM96_ERROR_DIAG |
66 |
# undef ALLOW_EGM96_ERROR_COV |
67 |
# undef ALLOW_SPH_PROJECTION |
68 |
|
69 |
C >>> Use NSCAT data. |
70 |
# define ALLOW_SCAT_COST_CONTRIBUTION |
71 |
|
72 |
C >>> Cost function contributions |
73 |
# define ALLOW_HFLUX_COST_CONTRIBUTION |
74 |
# define ALLOW_SFLUX_COST_CONTRIBUTION |
75 |
# define ALLOW_MEAN_HFLUX_COST_CONTRIBUTION |
76 |
# define ALLOW_MEAN_SFLUX_COST_CONTRIBUTION |
77 |
# define ALLOW_USTRESS_COST_CONTRIBUTION |
78 |
# define ALLOW_VSTRESS_COST_CONTRIBUTION |
79 |
# undef ALLOW_STRESS_MEAN_COST_CONTRIBUTION |
80 |
|
81 |
# undef ALLOW_ATEMP_COST_CONTRIBUTION |
82 |
# undef ALLOW_AQH_COST_CONTRIBUTION |
83 |
# undef ALLOW_UWIND_COST_CONTRIBUTION |
84 |
# undef ALLOW_VWIND_COST_CONTRIBUTION |
85 |
|
86 |
# define GENERIC_BAR_MONTH |
87 |
# define ALLOW_THETA_COST_CONTRIBUTION |
88 |
# define ALLOW_SALT_COST_CONTRIBUTION |
89 |
# define ALLOW_THETA0_COST_CONTRIBUTION |
90 |
# define ALLOW_SALT0_COST_CONTRIBUTION |
91 |
# define ALLOW_SST_COST_CONTRIBUTION |
92 |
# define ALLOW_SSS_COST_CONTRIBUTION |
93 |
# define ALLOW_TMI_SST_COST_CONTRIBUTION |
94 |
|
95 |
# define ALLOW_SSH_MEAN_COST_CONTRIBUTION |
96 |
# define ALLOW_SSH_TPANOM_COST_CONTRIBUTION |
97 |
# define ALLOW_SSH_ERSANOM_COST_CONTRIBUTION |
98 |
# if (defined (ALLOW_SSH_MEAN_COST_CONTRIBUTION) || \ |
99 |
defined (ALLOW_SSH_TPANOM_COST_CONTRIBUTION) || \ |
100 |
defined (ALLOW_SSH_ERSANOM_COST_CONTRIBUTION)) |
101 |
# define ALLOW_SSH_COST_CONTRIBUTION |
102 |
# endif |
103 |
|
104 |
# define ALLOW_XBT_COST_CONTRIBUTION |
105 |
# define ALLOW_CTDT_COST_CONTRIBUTION |
106 |
# define ALLOW_CTDS_COST_CONTRIBUTION |
107 |
# define ALLOW_DRIFTER_COST_CONTRIBUTION |
108 |
# define ALLOW_DRIFT_COST_CONTRIBUTION |
109 |
# define ALLOW_DRIFTW_COST_CONTRIBUTION |
110 |
C |
111 |
# define ALLOW_ARGO_THETA_COST_CONTRIBUTION |
112 |
# define ALLOW_ARGO_SALT_COST_CONTRIBUTION |
113 |
C |
114 |
c >>> Open boundaries |
115 |
c >>> Make sure that ALLOW_OBCS is defined! |
116 |
# undef ALLOW_OBCSN_COST_CONTRIBUTION |
117 |
# undef ALLOW_OBCSS_COST_CONTRIBUTION |
118 |
# undef ALLOW_OBCSW_COST_CONTRIBUTION |
119 |
# undef ALLOW_OBCSE_COST_CONTRIBUTION |
120 |
# if (defined (ALLOW_OBCSN_COST_CONTRIBUTION) || \ |
121 |
defined (ALLOW_OBCSS_COST_CONTRIBUTION) || \ |
122 |
defined (ALLOW_OBCSW_COST_CONTRIBUTION) || \ |
123 |
defined (ALLOW_OBCSE_COST_CONTRIBUTION)) |
124 |
# define ALLOW_OBCS_COST_CONTRIBUTION |
125 |
# endif |
126 |
|
127 |
# undef ALLOW_COST_ATLANTIC |
128 |
c |
129 |
#endif /* ALLOW_COST */ |
130 |
|
131 |
|
132 |
C ******************************************************************** |
133 |
C *** Control vector Package *** |
134 |
C ******************************************************************** |
135 |
C |
136 |
#define CTRL_SET_OLD_MAXCVARS_30 |
137 |
#define CTRL_SET_PREC_32 |
138 |
#define ALLOW_NONDIMENSIONAL_CONTROL_IO |
139 |
#define CTRL_UNPACK_PRECISE |
140 |
#define CTRL_PACK_PRECISE |
141 |
|
142 |
C >>> Initial values. |
143 |
#define ALLOW_THETA0_CONTROL |
144 |
#define ALLOW_SALT0_CONTROL |
145 |
|
146 |
C >>> Eddy stress controls |
147 |
#define ALLOW_EDTAUX_CONTROL |
148 |
#define ALLOW_EDTAUY_CONTROL |
149 |
|
150 |
C >>> Surface fluxes. |
151 |
#define ALLOW_HFLUX_CONTROL |
152 |
#define ALLOW_SFLUX_CONTROL |
153 |
#define ALLOW_USTRESS_CONTROL |
154 |
#define ALLOW_VSTRESS_CONTROL |
155 |
#undef ALLOW_SWFLUX_CONTROL |
156 |
#undef ALLOW_LWFLUX_CONTROL |
157 |
|
158 |
C >>> Atmospheric state. |
159 |
#undef ALLOW_ATEMP_CONTROL |
160 |
#undef ALLOW_AQH_CONTROL |
161 |
#undef ALLOW_UWIND_CONTROL |
162 |
#undef ALLOW_VWIND_CONTROL |
163 |
#undef ALLOW_PRECIP_CONTROL |
164 |
|
165 |
C >>> Radiation |
166 |
#undef ALLOW_SWFLUX_CONTROL |
167 |
#undef ALLOW_LWFLUX_CONTROL |
168 |
|
169 |
C >>> Open boundaries |
170 |
c >>> Make sure that ALLOW_OBCS is defined |
171 |
#undef ALLOW_OBCSN_CONTROL |
172 |
#undef ALLOW_OBCSS_CONTROL |
173 |
#undef ALLOW_OBCSW_CONTROL |
174 |
#undef ALLOW_OBCSE_CONTROL |
175 |
#if (defined (ALLOW_OBCSN_CONTROL) || \ |
176 |
defined (ALLOW_OBCSS_CONTROL) || \ |
177 |
defined (ALLOW_OBCSW_CONTROL) || \ |
178 |
defined (ALLOW_OBCSE_CONTROL)) |
179 |
# define ALLOW_OBCS_CONTROL |
180 |
#endif |
181 |
|
182 |
C ******************************************************************** |
183 |
C *** External forcing Package *** |
184 |
C ******************************************************************** |
185 |
C |
186 |
C o Include/exclude the external forcing package. To use this package, |
187 |
C you have to include the calendar tool as well. KPP can be switched |
188 |
C on or off. The implementation automatically takes care of this. |
189 |
#define INCLUDE_EXTERNAL_FORCING_PACKAGE |
190 |
|
191 |
C Do more printout for the protocol file than usual. |
192 |
#undef EXF_VERBOSE |
193 |
|
194 |
C Bulk formulae related flags. |
195 |
#define ALLOW_RUNOFF |
196 |
#undef ALLOW_ATM_TEMP |
197 |
#undef ALLOW_ATM_WIND |
198 |
#if (defined (ALLOW_ATM_TEMP) || \ |
199 |
defined (ALLOW_ATM_WIND)) |
200 |
# define ALLOW_BULKFORMULAE |
201 |
#endif |
202 |
|
203 |
C Relaxation to monthly climatologies. |
204 |
#undef ALLOW_CLIM_CYCLIC |
205 |
#undef ALLOW_CLIMTEMP_RELAXATION |
206 |
#undef ALLOW_CLIMSALT_RELAXATION |
207 |
#undef ALLOW_CLIMSST_RELAXATION |
208 |
#undef ALLOW_CLIMSSS_RELAXATION |
209 |
#ifdef ALLOW_CLIMSST_RELAXATION |
210 |
# define ALLOW_MONTHLY_CLIMSST_RELAXATION |
211 |
#endif |
212 |
#ifdef ALLOW_CLIMSSS_RELAXATION |
213 |
# define ALLOW_MONTHLY_CLIMSSS_RELAXATION |
214 |
#endif |
215 |
|
216 |
C Relaxation to constant surface fields. |
217 |
#undef ALLOW_CONST_SST_RELAXATION |
218 |
#undef ALLOW_CONST_SSS_RELAXATION |