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

Annotation 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.6 - (hide annotations) (download)
Thu Aug 6 20:35:16 2015 UTC (8 years, 8 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65o, HEAD
Changes since 1.5: +1 -3 lines
File MIME type: text/plain
- all: remove ALLOW_ECCO_EVOLUTION switch
- offline_exf_seaice: remove unused ECCO CPP switches

1 gforget 1.6 C $Header: /u/gcmpack/MITgcm/verification/obcs_ctrl/code_ad/ECCO_CPPOPTIONS.h,v 1.5 2014/10/16 20:09:30 gforget Exp $
2 mmazloff 1.1 C $Name: $
3    
4 jmc 1.2 #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 mmazloff 1.1 C ********************************************************************
16     C *** ECCO Package ***
17     C ********************************************************************
18    
19 gforget 1.5 C allow use of legacy ecco/ctrl codes
20     #define ECCO_CTRL_DEPRECATED
21    
22 mmazloff 1.1 cph#define ALLOW_ECCO_FORWARD_RUN
23     #define ALLOW_ECCO_OPTIMIZATION
24    
25     C >>> Do a long protocol.
26     #undef ECCO_VERBOSE
27    
28     C ********************************************************************
29     C *** Adjoint Support Package ***
30     C ********************************************************************
31    
32     C o Include/exclude code in order to be able to automatically
33 jmc 1.2
34 mmazloff 1.1 #define ALLOW_AUTODIFF_TAMC
35 jmc 1.2
36 mmazloff 1.1 C >>> Checkpointing as handled by TAMC
37     #define ALLOW_TAMC_CHECKPOINTING
38 jmc 1.2
39 mmazloff 1.1 C extend to 4-level checkpointing
40     #undef AUTODIFF_4_LEVEL_CHECKPOINT
41 jmc 1.2
42 mmazloff 1.1 C >>> Extract adjoint state
43     #define ALLOW_AUTODIFF_MONITOR
44 jmc 1.2
45 mmazloff 1.1 C o use divided adjoint to split adjoint computations
46     #undef ALLOW_DIVIDED_ADJOINT
47 jmc 1.2
48 mmazloff 1.1 C o TAMC compatible subroutine parameter list
49     #undef AUTODIFF_TAMC_COMPATIBILITY
50    
51     C ********************************************************************
52     C *** Calendar Package ***
53     C ********************************************************************
54 jmc 1.2
55 mmazloff 1.1 C CPP flags controlling which code is included in the files that
56     C will be compiled.
57    
58     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
59    
60     C ********************************************************************
61     C *** Cost function Package ***
62     C ********************************************************************
63 jmc 1.2
64 mmazloff 1.1 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     # undef ALLOW_ATEMP_COST_CONTRIBUTION
77     # undef ALLOW_AQH_COST_CONTRIBUTION
78     # undef ALLOW_UWIND_COST_CONTRIBUTION
79     # undef ALLOW_VWIND_COST_CONTRIBUTION
80     # undef ALLOW_PRECIP_COST_CONTRIBUTION
81     # undef ALLOW_SNOWPRECIP_COST_CONTRIBUTION
82     # undef ALLOW_SWDOWN_COST_CONTRIBUTION
83     # undef ALLOW_LWDOWN_COST_CONTRIBUTION
84     # undef ALLOW_EVAP_COST_CONTRIBUTION
85     # undef ALLOW_APRESSURE_COST_CONTRIBUTION
86     # undef ALLOW_RUNOFF_COST_CONTRIBUTION
87    
88     # define ALLOW_THETA0_COST_CONTRIBUTION
89     # undef ALLOW_SALT0_COST_CONTRIBUTION
90     # define ALLOW_THETA_COST_CONTRIBUTION
91     # undef ALLOW_SALT_COST_CONTRIBUTION
92     # undef ALLOW_SST_COST_CONTRIBUTION
93     # undef ALLOW_SSS_COST_CONTRIBUTION
94    
95     # undef ALLOW_SSH_MEAN_COST_CONTRIBUTION
96     # undef ALLOW_SSH_TPANOM_COST_CONTRIBUTION
97     # undef ALLOW_SSH_ERSANOM_COST_CONTRIBUTION
98     # undef ALLOW_SPH_PROJECTION
99     # if (defined (ALLOW_SSH_MEAN_COST_CONTRIBUTION) || \
100     defined (ALLOW_SSH_TPANOM_COST_CONTRIBUTION) || \
101     defined (ALLOW_SSH_ERSANOM_COST_CONTRIBUTION))
102     # define ALLOW_SSH_COST_CONTRIBUTION
103     # endif
104    
105     # undef ALLOW_CTDT_COST_CONTRIBUTION
106     # undef ALLOW_CTDS_COST_CONTRIBUTION
107     # undef ALLOW_XBT_COST_CONTRIBUTION
108     # undef ALLOW_COST_ATLANTIC
109    
110     c >>> Open boundaries
111     c >>> Make sure that ALLOW_OBCS is defined
112     # define ALLOW_OBCSN_COST_CONTRIBUTION
113     # define ALLOW_OBCSS_COST_CONTRIBUTION
114     # define ALLOW_OBCSW_COST_CONTRIBUTION
115     # define ALLOW_OBCSE_COST_CONTRIBUTION
116     # if (defined (ALLOW_OBCSN_COST_CONTRIBUTION) || \
117     defined (ALLOW_OBCSS_COST_CONTRIBUTION) || \
118     defined (ALLOW_OBCSW_COST_CONTRIBUTION) || \
119     defined (ALLOW_OBCSE_COST_CONTRIBUTION))
120     # define ALLOW_OBCS_COST_CONTRIBUTION
121     # endif
122 jmc 1.2 CMM
123 mmazloff 1.1 # undef ALLOW_IESTAU_COST_CONTRIBUTION
124    
125     C ********************************************************************
126     C *** Control vector Package ***
127     C ********************************************************************
128 jmc 1.2
129 mmazloff 1.1 #define ALLOW_NONDIMENSIONAL_CONTROL_IO
130     #undef ALLOW_TAMC_SINGLEPREC_COMLEV
131    
132     C >>> Initial values.
133     #define ALLOW_THETA0_CONTROL
134     #undef ALLOW_SALT0_CONTROL
135    
136     C >>> Initial seaice
137     #undef ALLOW_SIAREA_CONTROL
138     #undef ALLOW_SIHEFF_CONTROL
139    
140     C >>> Surface fluxes.
141     #undef ALLOW_HFLUX_CONTROL
142     #undef ALLOW_SFLUX_CONTROL
143     #undef ALLOW_USTRESS_CONTROL
144     #undef ALLOW_VSTRESS_CONTROL
145    
146     C >>> Atmospheric state.
147     #undef ALLOW_ATEMP_CONTROL
148     #undef ALLOW_AQH_CONTROL
149     #undef ALLOW_PRECIP_CONTROL
150     #undef ALLOW_SNOWPRECIP_CONTROL
151     #undef ALLOW_SWDOWN_CONTROL
152     #undef ALLOW_LWDOWN_CONTROL
153     #undef ALLOW_UWIND_CONTROL
154     #undef ALLOW_VWIND_CONTROL
155     #undef ALLOW_EVAP_CONTROL
156     #undef ALLOW_APRESSURE_CONTROL
157     #undef ALLOW_RUNOFF_CONTROL
158    
159     C >>> Radiation
160     #undef ALLOW_SWFLUX_CONTROL
161     #undef ALLOW_LWFLUX_CONTROL
162    
163     C >>> seaice init. conditions
164     #undef ALLOW_SIAREA_CONTROL
165     #undef ALLOW_SIHEFF_CONTROL
166     #undef ALLOW_SIHSNOW_CONTROL
167    
168     C >>> Open boundaries
169     c >>> Make sure that ALLOW_OBCS is defined
170     #define ALLOW_OBCSN_CONTROL
171     #define ALLOW_OBCSS_CONTROL
172     #define ALLOW_OBCSW_CONTROL
173     #define ALLOW_OBCSE_CONTROL
174     #if (defined (ALLOW_OBCSN_CONTROL) || \
175     defined (ALLOW_OBCSS_CONTROL) || \
176     defined (ALLOW_OBCSW_CONTROL) || \
177     defined (ALLOW_OBCSE_CONTROL))
178     # define ALLOW_OBCS_CONTROL
179     #endif
180     #define ALLOW_OBCS_CONTROL_MODES
181    
182     C ********************************************************************
183     C *** External forcing Package ***
184     C ********************************************************************
185    
186     C Do more printout for the protocol file than usual.
187     #undef EXF_VERBOSE
188    
189     C Bulk formulae related flags.
190     #undef ALLOW_BULK_LARGYEAG04
191     #undef ALLOW_ATM_TEMP
192     #undef ALLOW_ATM_WIND
193     #undef ALLOW_BULKFORMULAE
194     #undef ALLOW_DOWNWARD_RADIATION
195     #undef ALLOW_RUNOFF
196     #undef EXF_READ_EVAP
197    
198     C Relaxation to monthly climatologies.
199     #undef ALLOW_CLIMSST_RELAXATION
200     #undef ALLOW_CLIMSSS_RELAXATION
201 jmc 1.2
202     C ********************************************************************
203     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22