1 |
C $Header: /u/gcmpack/MITgcm/verification/lab_sea/code/ECCO_CPPOPTIONS.h,v 1.6 2004/03/17 23:30:51 dimitri 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_COST |
43 |
#ifdef ALLOW_COST |
44 |
C >>> Use the EGM-96 geoid error covariance. |
45 |
# undef ALLOW_EGM96_ERROR_COV |
46 |
# undef ALLOW_READ_EGM_DATA |
47 |
C >>> Use NSCAT data. |
48 |
# undef ALLOW_NSCAT_DATA |
49 |
C >>> Cost function contributions |
50 |
|
51 |
# undef ALLOW_HFLUX_COST_CONTRIBUTION |
52 |
# undef ALLOW_SFLUX_COST_CONTRIBUTION |
53 |
# undef ALLOW_USTRESS_COST_CONTRIBUTION |
54 |
# undef ALLOW_VSTRESS_COST_CONTRIBUTION |
55 |
|
56 |
# define ALLOW_ATEMP_COST_CONTRIBUTION |
57 |
# define ALLOW_AQH_COST_CONTRIBUTION |
58 |
# define ALLOW_UWIND_COST_CONTRIBUTION |
59 |
# define ALLOW_VWIND_COST_CONTRIBUTION |
60 |
# define ALLOW_PRECIP_COST_CONTRIBUTION |
61 |
# define ALLOW_SWDOWN_COST_CONTRIBUTION |
62 |
|
63 |
cph-test # define ALLOW_SST_COST_CONTRIBUTION |
64 |
|
65 |
c >>> Sea-ice volume |
66 |
# define ALLOW_COST_ICE |
67 |
|
68 |
c >>> Sea-ice fractional coverage misfit to SMR obs |
69 |
# define ALLOW_SEAICE_COST_SMR_AREA |
70 |
|
71 |
#endif /* ALLOW_COST */ |
72 |
|
73 |
C ******************************************************************** |
74 |
C *** Control vector Package *** |
75 |
C ******************************************************************** |
76 |
C |
77 |
#undef EXCLUDE_CTRL_PACK |
78 |
#define ALLOW_NONDIMENSIONAL_CONTROL_IO |
79 |
|
80 |
C >>> Initial values. |
81 |
#undef ALLOW_THETA0_CONTROL |
82 |
#undef ALLOW_SALT0_CONTROL |
83 |
|
84 |
C >>> Surface fluxes. |
85 |
#undef ALLOW_HFLUX_CONTROL |
86 |
#undef ALLOW_SFLUX_CONTROL |
87 |
#undef ALLOW_USTRESS_CONTROL |
88 |
#undef ALLOW_VSTRESS_CONTROL |
89 |
|
90 |
C >>> Atmospheric state. |
91 |
#define ALLOW_ATEMP_CONTROL |
92 |
#define ALLOW_AQH_CONTROL |
93 |
#define ALLOW_UWIND_CONTROL |
94 |
#define ALLOW_VWIND_CONTROL |
95 |
#define ALLOW_PRECIP_CONTROL |
96 |
#define ALLOW_SWDOWN_CONTROL |
97 |
|
98 |
cph-test #define ALLOW_SST_CONTROL |
99 |
#undef ALLOW_SSS_CONTROL |
100 |
|
101 |
C ******************************************************************** |
102 |
C *** External forcing Package *** |
103 |
C ******************************************************************** |
104 |
C |
105 |
|
106 |
C Do more printout for the protocol file than usual. |
107 |
#undef EXF_VERBOSE |
108 |
|
109 |
C Options that are required to use pkg/exf with pkg/seaice. |
110 |
#define ALLOW_ATM_TEMP |
111 |
#define ALLOW_ATM_WIND |
112 |
#define ALLOW_DOWNWARD_RADIATION |
113 |
#define ALLOW_BULKFORMULAE |
114 |
#define ALLOW_RUNOFF |
115 |
#undef USE_EXF_INTERPOLATION |
116 |
|
117 |
C Options that control relaxation terms. |
118 |
#undef ALLOW_CLIMTEMP_RELAXATION |
119 |
#undef ALLOW_CLIMSALT_RELAXATION |
120 |
#define ALLOW_CLIMSST_RELAXATION |
121 |
#define ALLOW_CLIMSSS_RELAXATION |