/[MITgcm]/MITgcm/verification/obcs_ctrl/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/obcs_ctrl/code_ad/ECCO_CPPOPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Mon Mar 4 23:01:16 2013 UTC (11 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64e, checkpoint64g, checkpoint64f, checkpoint65, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65d, checkpoint65e
Changes since 1.2: +3 -1 lines
File MIME type: text/plain
Add CPP option
#define ECCO_EVOLUTION

1 C $Header: /u/gcmpack/MITgcm/verification/obcs_ctrl/code_ad/ECCO_CPPOPTIONS.h,v 1.2 2012/08/09 18:15:57 jmc Exp $
2 C $Name: $
3
4 #ifndef ECCO_CPPOPTIONS_H
5 #define ECCO_CPPOPTIONS_H
6
7 C-- Collect here, in a single option-file, options to control which optional
8 C features to compile in packages AUTODIFF, COST, CTRL, ECCO, CAL and EXF.
9 C If used, this option-file needs to be directly included in CPP_OPTIONS.h
10 C Although this method, inherited from ECCO setup, has been traditionally
11 C used for all adjoint built, work is in progess to allow to use the
12 C standard metod (each of the above pkg get its own options from its
13 C specific option-file) also for adjoint built.
14
15 C ********************************************************************
16 C *** ECCO Package ***
17 C ********************************************************************
18
19 cph#define ALLOW_ECCO_FORWARD_RUN
20 #define ALLOW_ECCO_OPTIMIZATION
21
22 C >>> Do a long protocol.
23 #undef ECCO_VERBOSE
24
25 #define ALLOW_ECCO_EVOLUTION
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
33 #define ALLOW_AUTODIFF_TAMC
34
35 C >>> Checkpointing as handled by TAMC
36 #define ALLOW_TAMC_CHECKPOINTING
37
38 C extend to 4-level checkpointing
39 #undef AUTODIFF_4_LEVEL_CHECKPOINT
40
41 C >>> Extract adjoint state
42 #define ALLOW_AUTODIFF_MONITOR
43
44 C o use divided adjoint to split adjoint computations
45 #undef ALLOW_DIVIDED_ADJOINT
46
47 C o TAMC compatible subroutine parameter list
48 #undef AUTODIFF_TAMC_COMPATIBILITY
49
50 C ********************************************************************
51 C *** Calendar Package ***
52 C ********************************************************************
53
54 C CPP flags controlling which code is included in the files that
55 C will be compiled.
56
57 CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
58
59 C ********************************************************************
60 C *** Cost function Package ***
61 C ********************************************************************
62
63 C >>> Use the EGM-96 geoid error covariance.
64 # undef ALLOW_EGM96_ERROR_COV
65 # undef ALLOW_READ_EGM_DATA
66 C >>> Use NSCAT data.
67 # undef ALLOW_NSCAT_DATA
68 C >>> Cost function contributions
69
70 # undef ALLOW_HFLUX_COST_CONTRIBUTION
71 # undef ALLOW_SFLUX_COST_CONTRIBUTION
72 # undef ALLOW_USTRESS_COST_CONTRIBUTION
73 # undef ALLOW_VSTRESS_COST_CONTRIBUTION
74
75 # undef ALLOW_ATEMP_COST_CONTRIBUTION
76 # undef ALLOW_AQH_COST_CONTRIBUTION
77 # undef ALLOW_UWIND_COST_CONTRIBUTION
78 # undef ALLOW_VWIND_COST_CONTRIBUTION
79 # undef ALLOW_PRECIP_COST_CONTRIBUTION
80 # undef ALLOW_SNOWPRECIP_COST_CONTRIBUTION
81 # undef ALLOW_SWDOWN_COST_CONTRIBUTION
82 # undef ALLOW_LWDOWN_COST_CONTRIBUTION
83 # undef ALLOW_EVAP_COST_CONTRIBUTION
84 # undef ALLOW_APRESSURE_COST_CONTRIBUTION
85 # undef ALLOW_RUNOFF_COST_CONTRIBUTION
86
87 # define ALLOW_THETA0_COST_CONTRIBUTION
88 # undef ALLOW_SALT0_COST_CONTRIBUTION
89 # define ALLOW_THETA_COST_CONTRIBUTION
90 # undef ALLOW_SALT_COST_CONTRIBUTION
91 # undef ALLOW_SST_COST_CONTRIBUTION
92 # undef ALLOW_SSS_COST_CONTRIBUTION
93
94 # undef ALLOW_SSH_MEAN_COST_CONTRIBUTION
95 # undef ALLOW_SSH_TPANOM_COST_CONTRIBUTION
96 # undef ALLOW_SSH_ERSANOM_COST_CONTRIBUTION
97 # undef ALLOW_SPH_PROJECTION
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 # undef ALLOW_CTDT_COST_CONTRIBUTION
105 # undef ALLOW_CTDS_COST_CONTRIBUTION
106 # undef ALLOW_XBT_COST_CONTRIBUTION
107 # undef ALLOW_COST_ATLANTIC
108
109 c >>> Open boundaries
110 c >>> Make sure that ALLOW_OBCS is defined
111 # define ALLOW_OBCSN_COST_CONTRIBUTION
112 # define ALLOW_OBCSS_COST_CONTRIBUTION
113 # define ALLOW_OBCSW_COST_CONTRIBUTION
114 # define ALLOW_OBCSE_COST_CONTRIBUTION
115 # if (defined (ALLOW_OBCSN_COST_CONTRIBUTION) || \
116 defined (ALLOW_OBCSS_COST_CONTRIBUTION) || \
117 defined (ALLOW_OBCSW_COST_CONTRIBUTION) || \
118 defined (ALLOW_OBCSE_COST_CONTRIBUTION))
119 # define ALLOW_OBCS_COST_CONTRIBUTION
120 # endif
121 CMM
122 # undef ALLOW_IESTAU_COST_CONTRIBUTION
123 c >>> Sea-ice volume
124 # undef ALLOW_COST_ICE
125
126 c >>> Sea-ice misfit to obs
127 # undef ALLOW_SEAICE_COST_SMR_AREA
128
129 C ********************************************************************
130 C *** Control vector Package ***
131 C ********************************************************************
132
133 #define ALLOW_NONDIMENSIONAL_CONTROL_IO
134 #undef ALLOW_TAMC_SINGLEPREC_COMLEV
135
136 C >>> Initial values.
137 #define ALLOW_THETA0_CONTROL
138 #undef ALLOW_SALT0_CONTROL
139
140 C >>> Initial seaice
141 #undef ALLOW_SIAREA_CONTROL
142 #undef ALLOW_SIHEFF_CONTROL
143
144 C >>> Surface fluxes.
145 #undef ALLOW_HFLUX_CONTROL
146 #undef ALLOW_SFLUX_CONTROL
147 #undef ALLOW_USTRESS_CONTROL
148 #undef ALLOW_VSTRESS_CONTROL
149
150 C >>> Atmospheric state.
151 #undef ALLOW_ATEMP_CONTROL
152 #undef ALLOW_AQH_CONTROL
153 #undef ALLOW_PRECIP_CONTROL
154 #undef ALLOW_SNOWPRECIP_CONTROL
155 #undef ALLOW_SWDOWN_CONTROL
156 #undef ALLOW_LWDOWN_CONTROL
157 #undef ALLOW_UWIND_CONTROL
158 #undef ALLOW_VWIND_CONTROL
159 #undef ALLOW_EVAP_CONTROL
160 #undef ALLOW_APRESSURE_CONTROL
161 #undef ALLOW_RUNOFF_CONTROL
162
163 C >>> Radiation
164 #undef ALLOW_SWFLUX_CONTROL
165 #undef ALLOW_LWFLUX_CONTROL
166
167 C >>> seaice init. conditions
168 #undef ALLOW_SIAREA_CONTROL
169 #undef ALLOW_SIHEFF_CONTROL
170 #undef ALLOW_SIHSNOW_CONTROL
171
172 C >>> Open boundaries
173 c >>> Make sure that ALLOW_OBCS is defined
174 #define ALLOW_OBCSN_CONTROL
175 #define ALLOW_OBCSS_CONTROL
176 #define ALLOW_OBCSW_CONTROL
177 #define ALLOW_OBCSE_CONTROL
178 #if (defined (ALLOW_OBCSN_CONTROL) || \
179 defined (ALLOW_OBCSS_CONTROL) || \
180 defined (ALLOW_OBCSW_CONTROL) || \
181 defined (ALLOW_OBCSE_CONTROL))
182 # define ALLOW_OBCS_CONTROL
183 #endif
184 #define ALLOW_OBCS_CONTROL_MODES
185
186 C ********************************************************************
187 C *** External forcing Package ***
188 C ********************************************************************
189
190 C Do more printout for the protocol file than usual.
191 #undef EXF_VERBOSE
192
193 C Bulk formulae related flags.
194 #undef ALLOW_BULK_LARGYEAG04
195 #undef ALLOW_ATM_TEMP
196 #undef ALLOW_ATM_WIND
197 #undef ALLOW_BULKFORMULAE
198 #undef ALLOW_DOWNWARD_RADIATION
199 #undef ALLOW_RUNOFF
200 #undef EXF_READ_EVAP
201
202 C Relaxation to monthly climatologies.
203 #undef ALLOW_CLIMSST_RELAXATION
204 #undef ALLOW_CLIMSSS_RELAXATION
205
206 C ********************************************************************
207 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22