1 |
heimbach |
1.1 |
C $Header: /u/gcmpack/MITgcm/verification/lab_sea/code_ad_seaice_only/ECCO_CPPOPTIONS.h,v 1.1 2005/09/10 14:17:07 heimbach Exp $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
C CPP flags controlling which code is included in the files that |
5 |
|
|
C will be compiled. |
6 |
|
|
C |
7 |
|
|
C ******************************************************************** |
8 |
|
|
C *** ECCO Package *** |
9 |
|
|
C ******************************************************************** |
10 |
|
|
C |
11 |
|
|
#undef ALLOW_ECCO_FORWARD_RUN |
12 |
|
|
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
13 |
|
|
#define ALLOW_ECCO_OPTIMIZATION |
14 |
|
|
|
15 |
|
|
C ******************************************************************** |
16 |
|
|
C *** Adjoint Support Package *** |
17 |
|
|
C ******************************************************************** |
18 |
|
|
|
19 |
|
|
C o Include/exclude code in order to be able to automatically |
20 |
|
|
C differentiate the MITgcmUV by using the Tangent Linear and |
21 |
|
|
C Adjoint Model Compiler (TAMC). |
22 |
|
|
#define INCLUDE_AUTODIFF_PACKAGE |
23 |
|
|
C |
24 |
|
|
#define ALLOW_AUTODIFF_TAMC |
25 |
|
|
C |
26 |
|
|
C >>> Checkpointing as handled by TAMC |
27 |
|
|
#define ALLOW_TAMC_CHECKPOINTING |
28 |
|
|
c |
29 |
|
|
c >>> Reduce to 2-level checkpointing |
30 |
|
|
#define AUTODIFF_2_LEVEL_CHECKPOINT |
31 |
|
|
C |
32 |
|
|
C >>> Extract adjoint state |
33 |
|
|
#define ALLOW_AUTODIFF_MONITOR |
34 |
|
|
C |
35 |
|
|
C o use divided adjoint to split adjoint computations |
36 |
|
|
#undef ALLOW_DIVIDED_ADJOINT |
37 |
|
|
|
38 |
|
|
C ******************************************************************** |
39 |
|
|
C *** Cost function Package *** |
40 |
|
|
C ******************************************************************** |
41 |
|
|
C |
42 |
|
|
# define ALLOW_ATEMP_COST_CONTRIBUTION |
43 |
|
|
# define ALLOW_AQH_COST_CONTRIBUTION |
44 |
|
|
# define ALLOW_UWIND_COST_CONTRIBUTION |
45 |
|
|
# define ALLOW_VWIND_COST_CONTRIBUTION |
46 |
|
|
# define ALLOW_PRECIP_COST_CONTRIBUTION |
47 |
|
|
# define ALLOW_SWDOWN_COST_CONTRIBUTION |
48 |
|
|
|
49 |
|
|
cph-test # define ALLOW_SST_COST_CONTRIBUTION |
50 |
|
|
|
51 |
|
|
c >>> Sea-ice volume |
52 |
|
|
# define ALLOW_COST_ICE |
53 |
|
|
|
54 |
|
|
C ******************************************************************** |
55 |
|
|
C *** Control vector Package *** |
56 |
|
|
C ******************************************************************** |
57 |
|
|
C |
58 |
|
|
#define EXCLUDE_CTRL_PACK |
59 |
|
|
|
60 |
|
|
C >>> Initial values. |
61 |
|
|
#undef ALLOW_THETA0_CONTROL |
62 |
|
|
#undef ALLOW_SALT0_CONTROL |
63 |
|
|
|
64 |
|
|
C >>> Surface fluxes. |
65 |
|
|
#undef ALLOW_HFLUX_CONTROL |
66 |
|
|
#undef ALLOW_SFLUX_CONTROL |
67 |
|
|
#undef ALLOW_USTRESS_CONTROL |
68 |
|
|
#undef ALLOW_VSTRESS_CONTROL |
69 |
|
|
|
70 |
|
|
C >>> Atmospheric state. |
71 |
|
|
#define ALLOW_ATEMP_CONTROL |
72 |
|
|
#define ALLOW_AQH_CONTROL |
73 |
|
|
#define ALLOW_UWIND_CONTROL |
74 |
|
|
#define ALLOW_VWIND_CONTROL |
75 |
|
|
#define ALLOW_PRECIP_CONTROL |
76 |
|
|
#define ALLOW_SWDOWN_CONTROL |
77 |
|
|
|
78 |
|
|
cph-test #define ALLOW_SST_CONTROL |
79 |
|
|
#undef ALLOW_SSS_CONTROL |
80 |
|
|
|
81 |
|
|
C ******************************************************************** |
82 |
|
|
C *** External forcing Package *** |
83 |
|
|
C ******************************************************************** |
84 |
|
|
C |
85 |
|
|
|
86 |
|
|
C Do more printout for the protocol file than usual. |
87 |
|
|
#undef EXF_VERBOSE |
88 |
|
|
|
89 |
|
|
C Bulk formulae related flags. |
90 |
|
|
#define ALLOW_ATM_TEMP |
91 |
|
|
#define ALLOW_ATM_WIND |
92 |
|
|
#define ALLOW_DOWNWARD_RADIATION |
93 |
|
|
#define ALLOW_RUNOFF |
94 |
|
|
#if (defined (ALLOW_ATM_TEMP) || \ |
95 |
|
|
defined (ALLOW_ATM_WIND)) |
96 |
|
|
# define ALLOW_BULK_OFFLINE |
97 |
|
|
# define ALLOW_BULKFORMULAE |
98 |
|
|
# undef ALLOW_BULK_LARGEYEAGER04 |
99 |
|
|
#endif |
100 |
|
|
|
101 |
|
|
C Relaxation to monthly climatologies. |
102 |
|
|
#define ALLOW_CLIMSST_RELAXATION |
103 |
|
|
#define ALLOW_CLIMSSS_RELAXATION |
104 |
|
|
|
105 |
|
|
C Use spatial interpolation to interpolate |
106 |
|
|
C forcing files from input grid to model grid. |
107 |
|
|
#undef USE_EXF_INTERPOLATION |
108 |
|
|
|
109 |
|
|
#define EXF_INTERP_USE_DYNALLOC |
110 |
|
|
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |
111 |
|
|
# define EXF_IREAD_USE_GLOBAL_POINTER |
112 |
|
|
#endif |