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

Annotation of /MITgcm/verification/lab_sea/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.4 - (hide annotations) (download)
Fri Sep 28 20:10:00 2007 UTC (16 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59h
Changes since 1.3: +4 -12 lines
File MIME type: text/plain
Change reference output for adjoint yet again
(after checking that recent fixes reproduce old reference):
o SEAICE_EXCLUDE_FOR_EXACT_AD_TESTING
o SEAICE_salinity    = 0.3
o SEAICE_availHeatFrac = 0.8

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

  ViewVC Help
Powered by ViewVC 1.1.22