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