/[MITgcm]/MITgcm/verification/natl_box_adjoint/code_seaice/ECCO_CPPOPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/natl_box_adjoint/code_seaice/ECCO_CPPOPTIONS.h

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


Revision 1.1.2.3 - (hide annotations) (download)
Thu May 1 16:04:46 2003 UTC (18 years, 7 months ago) by dimitri
Branch: ecco-branch
CVS Tags: ecco_c50_e31, ecco_c50_e32, ecco_c50_e30
Changes since 1.1.2.2: +3 -3 lines
File MIME type: text/plain
Modified Files natl_box_adjoint/code_seaice/ECCO_CPPOPTIONS.h and tamc.h

1 dimitri 1.1.2.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     #undef ALLOW_ECCO_FORWARD_RUN
14     #undef ALLOW_ECCO_DIAGNOSTICS_RUN
15     #undef ALLOW_ADJOINT_RUN
16     #define ALLOW_GRADIENT_CHECK
17     #define ALLOW_ECCO_OPTIMIZATION
18    
19     C >>> Do a long protocol.
20     #undef ECCO_VERBOSE
21    
22     C >>> Just do a "dry" run ( useful for testing ).
23     #undef ALLOW_NO_DYNAMICS
24     C >>> Use the Yearly-Monthly-Daily-Stepping call tree.
25     #undef ALLOW_YMDS_TREE
26     C >>> Do not call stepping
27     #define ALLOW_STEPPING_CALL
28    
29     C ********************************************************************
30     C *** Adjoint Support Package ***
31     C ********************************************************************
32    
33     C o Include/exclude code in order to be able to automatically
34     C differentiate the MITgcmUV by using the Tangent Linear and
35     C Adjoint Model Compiler (TAMC).
36     #define INCLUDE_AUTODIFF_PACKAGE
37     C
38     #define ALLOW_AUTODIFF_TAMC
39     C
40     C >>> Checkpointing as handled by TAMC
41     #define ALLOW_TAMC_CHECKPOINTING
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     C
56    
57     C o Include the calendar tool.
58     #define ALLOW_CALENDAR
59     #define ALLOW_CAL_NENDITER
60    
61     C ********************************************************************
62     C *** Cost function Package ***
63     C ********************************************************************
64     C
65     #define ALLOW_COST
66     #ifdef ALLOW_COST
67     C >>> Use the EGM-96 geoid error covariance.
68     # undef ALLOW_EGM96_ERROR_COV
69     # undef ALLOW_READ_EGM_DATA
70     C >>> Use NSCAT data.
71     # undef ALLOW_NSCAT_DATA
72     C >>> Cost function contributions
73    
74     # undef ALLOW_HFLUX_COST_CONTRIBUTION
75     # undef ALLOW_SFLUX_COST_CONTRIBUTION
76     # undef ALLOW_USTRESS_COST_CONTRIBUTION
77     # undef ALLOW_VSTRESS_COST_CONTRIBUTION
78    
79     # define ALLOW_ATEMP_COST_CONTRIBUTION
80     # define ALLOW_AQH_COST_CONTRIBUTION
81     # define ALLOW_UWIND_COST_CONTRIBUTION
82     # define ALLOW_VWIND_COST_CONTRIBUTION
83    
84     # define ALLOW_THETA_COST_CONTRIBUTION
85     # define ALLOW_SALT_COST_CONTRIBUTION
86     # define ALLOW_SST_COST_CONTRIBUTION
87     # undef ALLOW_SSS_COST_CONTRIBUTION
88    
89 dimitri 1.1.2.3 # undef ALLOW_SSH_MEAN_COST_CONTRIBUTION
90     # undef ALLOW_SSH_TPANOM_COST_CONTRIBUTION
91     # undef ALLOW_SSH_ERSANOM_COST_CONTRIBUTION
92 dimitri 1.1.2.1 # undef ALLOW_SPH_PROJECTION
93     # if (defined (ALLOW_SSH_MEAN_COST_CONTRIBUTION) || \
94     defined (ALLOW_SSH_TPANOM_COST_CONTRIBUTION) || \
95     defined (ALLOW_SSH_ERSANOM_COST_CONTRIBUTION))
96     # define ALLOW_SSH_COST_CONTRIBUTION
97     # endif
98    
99     # undef ALLOW_CTDT_COST_CONTRIBUTION
100     # undef ALLOW_CTDS_COST_CONTRIBUTION
101     # undef ALLOW_XBT_COST_CONTRIBUTION
102     # undef ALLOW_COST_ATLANTIC
103    
104     c >>> Open boundaries
105     c >>> Make sure that ALLOW_OBCS is defined
106     # undef ALLOW_OBCSN_COST_CONTRIBUTION
107     # undef ALLOW_OBCSS_COST_CONTRIBUTION
108     # undef ALLOW_OBCSW_COST_CONTRIBUTION
109     # undef ALLOW_OBCSE_COST_CONTRIBUTION
110     # if (defined (ALLOW_OBCSN_COST_CONTRIBUTION) || \
111     defined (ALLOW_OBCSS_COST_CONTRIBUTION) || \
112     defined (ALLOW_OBCSW_COST_CONTRIBUTION) || \
113     defined (ALLOW_OBCSE_COST_CONTRIBUTION))
114     # define ALLOW_OBCS_COST_CONTRIBUTION
115     # endif
116    
117 dimitri 1.1.2.2 c >>> Sea-ice volume
118     # define ALLOW_COST_ICE
119    
120 dimitri 1.1.2.1 #endif /* ALLOW_COST */
121    
122     C ********************************************************************
123     C *** Control vector Package ***
124     C ********************************************************************
125     C
126     #define ALLOW_NONDIMENSIONAL_CONTROL_IO
127    
128     C >>> Initial values.
129     #define ALLOW_THETA0_CONTROL
130     #define ALLOW_SALT0_CONTROL
131    
132     C >>> Surface fluxes.
133     #undef ALLOW_HFLUX_CONTROL
134     #undef ALLOW_SFLUX_CONTROL
135     #undef ALLOW_USTRESS_CONTROL
136     #undef ALLOW_VSTRESS_CONTROL
137    
138     C >>> Atmospheric state.
139     #define ALLOW_ATEMP_CONTROL
140     #define ALLOW_AQH_CONTROL
141     #define ALLOW_UWIND_CONTROL
142     #define ALLOW_VWIND_CONTROL
143    
144     C >>> Radiation
145     #undef ALLOW_SWFLUX_CONTROL
146     #undef ALLOW_LWFLUX_CONTROL
147    
148     C >>> Open boundaries
149     c >>> Make sure that ALLOW_OBCS is defined
150     #undef ALLOW_OBCSN_CONTROL
151     #undef ALLOW_OBCSS_CONTROL
152     #undef ALLOW_OBCSW_CONTROL
153     #undef ALLOW_OBCSE_CONTROL
154     #if (defined (ALLOW_OBCSN_CONTROL) || \
155     defined (ALLOW_OBCSS_CONTROL) || \
156     defined (ALLOW_OBCSW_CONTROL) || \
157     defined (ALLOW_OBCSE_CONTROL))
158     # define ALLOW_OBCS_CONTROL
159     #endif
160    
161     C ********************************************************************
162     C *** External forcing Package ***
163     C ********************************************************************
164     C
165     C o Include/exclude the external forcing package. To use this package,
166     C you have to include the calendar tool as well. KPP can be switched
167     C on or off. The implementation automatically takes care of this.
168     #define INCLUDE_EXTERNAL_FORCING_PACKAGE
169    
170     C Do more printout for the protocol file than usual.
171     #define EXF_VERBOSE
172    
173     C Bulk formulae related flags.
174     #define ALLOW_ATM_TEMP
175     #define ALLOW_ATM_WIND
176     #define ALLOW_DOWNWARD_RADIATION
177     #define ALLOW_BULKFORMULAE
178     #define ALLOW_RUNOFF
179    
180     C Relaxation to monthly climatologies.
181     #define ALLOW_CLIM_CYCLIC
182     #undef ALLOW_CLIMTEMP_RELAXATION
183     #undef ALLOW_CLIMSALT_RELAXATION
184     #undef ALLOW_CLIMSST_RELAXATION
185     #undef ALLOW_CLIMSSS_RELAXATION

  ViewVC Help
Powered by ViewVC 1.1.22