/[MITgcm]/MITgcm_contrib/verification_other/natl_box_adjoint/code/ECCO_CPPOPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/verification_other/natl_box_adjoint/code/ECCO_CPPOPTIONS.h

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


Revision 1.1 - (hide annotations) (download)
Sat Feb 4 02:15:44 2012 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64k, checkpoint64x, checkpoint64z, checkpoint64o, checkpoint64p, checkpoint64r, checkpoint64w, checkpoint64v, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint64m, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65u, checkpoint65j, checkpoint67a, checkpoint67b, checkpoint65i, checkpoint67d, checkpoint65m, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65e, checkpoint64i, checkpoint64h, checkpoint65h, checkpoint65, checkpoint64j, checkpoint65n, HEAD
File MIME type: text/plain
move un-tested set-up from MITgcm/verification/natl_box_adjoint to Contrib/verification_other

1 jmc 1.1 C $Header: /u/gcmpack/MITgcm/verification/natl_box_adjoint/code/ECCO_CPPOPTIONS.h,v 1.9 2007/10/09 02:29:10 jmc Exp $
2     C $Name: $
3    
4     C
5     C CPP flags controlling which code is included in the files that
6     C will be compiled.
7     C
8     C ********************************************************************
9     C *** ECCO Package ***
10     C ********************************************************************
11     C
12     C o include dump of snap shots for checks
13     #undef ALLOW_SNAPSHOTS
14    
15     #undef ALLOW_ECCO_FORWARD_RUN
16     #undef ALLOW_ECCO_DIAGNOSTICS_RUN
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 >>> switch btw. 2-/3-level checkpointing
44     #define AUTODIFF_4_LEVEL_CHECKPOINT
45     C
46     C >>> Extract adjoint state
47     #define ALLOW_AUTODIFF_MONITOR
48     C
49     C o use divided adjoint to split adjoint computations
50     #define ALLOW_DIVIDED_ADJOINT
51     #undef ALLOW_DIVIDED_ADJOINT_MPI
52    
53     C ********************************************************************
54     C *** Calender Package ***
55     C ********************************************************************
56     C
57     C CPP flags controlling which code is included in the files that
58     C will be compiled.
59    
60     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
61    
62     C ********************************************************************
63     C *** Cost function Package ***
64     C ********************************************************************
65     C
66     #define ALLOW_COST
67     #ifdef ALLOW_COST
68     # define ALLOW_PROFILES_CONTRIBUTION
69     C >>> Use the EGM-96 geoid error covariance.
70     # undef ALLOW_EGM96_ERROR_COV
71     # undef ALLOW_READ_EGM_DATA
72     C >>> Use NSCAT data.
73     # undef ALLOW_NSCAT_DATA
74     C >>> Cost function contributions
75    
76     # define ALLOW_HFLUX_COST_CONTRIBUTION
77     # define ALLOW_SFLUX_COST_CONTRIBUTION
78     # define ALLOW_USTRESS_COST_CONTRIBUTION
79     # define ALLOW_VSTRESS_COST_CONTRIBUTION
80     # define ALLOW_MEAN_HFLUX_COST_CONTRIBUTION
81     # define ALLOW_MEAN_SFLUX_COST_CONTRIBUTION
82    
83     # undef ALLOW_ATEMP_COST_CONTRIBUTION
84     # undef ALLOW_AQH_COST_CONTRIBUTION
85     # undef ALLOW_UWIND_COST_CONTRIBUTION
86     # undef ALLOW_VWIND_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    
107     # undef ALLOW_COST_ATLANTIC
108    
109     c >>> Open boundaries
110     c >>> Make sure that ALLOW_OBCS is defined
111     # undef ALLOW_OBCSN_COST_CONTRIBUTION
112     # undef ALLOW_OBCSS_COST_CONTRIBUTION
113     # undef ALLOW_OBCSW_COST_CONTRIBUTION
114     # undef 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    
122     #endif /* ALLOW_COST */
123    
124     C ********************************************************************
125     C *** Control vector Package ***
126     C ********************************************************************
127     C
128     #define ALLOW_NONDIMENSIONAL_CONTROL_IO
129    
130     C >>> Initial values.
131     #define ALLOW_THETA0_CONTROL
132     #define ALLOW_SALT0_CONTROL
133    
134     C >>> Surface fluxes.
135     #define ALLOW_HFLUX_CONTROL
136     #define ALLOW_SFLUX_CONTROL
137     #define ALLOW_USTRESS_CONTROL
138     #define ALLOW_VSTRESS_CONTROL
139    
140     C >>> Atmospheric state.
141     #undef ALLOW_ATEMP_CONTROL
142     #undef ALLOW_AQH_CONTROL
143     #undef ALLOW_UWIND_CONTROL
144     #undef ALLOW_VWIND_CONTROL
145    
146     C >>> Radiation
147     #undef ALLOW_SWFLUX_CONTROL
148     #undef ALLOW_LWFLUX_CONTROL
149    
150     C >>> Open boundaries
151     c >>> Make sure that ALLOW_OBCS is defined
152     #undef ALLOW_OBCSN_CONTROL
153     #undef ALLOW_OBCSS_CONTROL
154     #undef ALLOW_OBCSW_CONTROL
155     #undef ALLOW_OBCSE_CONTROL
156     #if (defined (ALLOW_OBCSN_CONTROL) || \
157     defined (ALLOW_OBCSS_CONTROL) || \
158     defined (ALLOW_OBCSW_CONTROL) || \
159     defined (ALLOW_OBCSE_CONTROL))
160     # define ALLOW_OBCS_CONTROL
161     #endif
162    
163     C ********************************************************************
164     C *** External forcing Package ***
165     C ********************************************************************
166     C
167     C o Include/exclude the external forcing package. To use this package,
168     C you have to include the calendar tool as well. KPP can be switched
169     C on or off. The implementation automatically takes care of this.
170     #define INCLUDE_EXTERNAL_FORCING_PACKAGE
171    
172     C Do more printout for the protocol file than usual.
173     #undef EXF_VERBOSE
174    
175     C Add runoff
176     #define ALLOW_RUNOFF
177    
178     C Use interpolation...
179     #undef USE_EXF_INTERPOLATION
180    
181     C Bulk formulae related flags.
182     #undef ALLOW_ATM_TEMP
183     #undef ALLOW_ATM_WIND
184     #if (defined (ALLOW_ATM_TEMP) || \
185     defined (ALLOW_ATM_WIND))
186     # define ALLOW_BULKFORMULAE
187     #endif
188    
189     C Relaxation to monthly climatologies.
190     #define ALLOW_CLIM_CYCLIC
191     #undef ALLOW_CLIMTEMP_RELAXATION
192     #undef ALLOW_CLIMSALT_RELAXATION
193     #undef ALLOW_CLIMSST_RELAXATION
194     #undef ALLOW_CLIMSSS_RELAXATION
195    
196     C Relaxation to monthly climatologies.
197     #ifdef ALLOW_CLIMSST_RELAXATION
198     # define ALLOW_MONTHLY_CLIMSST_RELAXATION
199     #endif
200     #ifdef ALLOW_CLIMSSS_RELAXATION
201     # define ALLOW_MONTHLY_CLIMSSS_RELAXATION
202     #endif

  ViewVC Help
Powered by ViewVC 1.1.22