1 |
C $Header: /u/gcmpack/MITgcm/verification/global_ocean.cs32x15/code_ad/ECCO_CPPOPTIONS.h,v 1.4 2010/05/19 08:33:34 mlosch 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 |
|
8 |
C ******************************************************************** |
9 |
C *** Adjoint Support Package *** |
10 |
C ******************************************************************** |
11 |
|
12 |
C o Include/exclude code in order to be able to automatically |
13 |
C differentiate the MITgcmUV by using the Tangent Linear and |
14 |
C Adjoint Model Compiler (TAMC). |
15 |
C |
16 |
#define ALLOW_AUTODIFF_TAMC |
17 |
C >>> Checkpointing as handled by TAMC |
18 |
#define ALLOW_TAMC_CHECKPOINTING |
19 |
C |
20 |
C >>> Extract adjoint state |
21 |
#define ALLOW_AUTODIFF_MONITOR |
22 |
C |
23 |
C >>> DO 2-level checkpointing instead of 3-level |
24 |
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
25 |
C |
26 |
C o use divided adjoint to split adjoint computations |
27 |
#undef ALLOW_DIVIDED_ADJOINT |
28 |
#undef ALLOW_DIVIDED_ADJOINT_MPI |
29 |
|
30 |
#define ALLOW_AUTODIFF_WHTAPEIO |
31 |
#define ALLOW_PACKUNPACK_METHOD2 |
32 |
|
33 |
C ******************************************************************** |
34 |
C *** Calender Package *** |
35 |
C ******************************************************************** |
36 |
C |
37 |
C CPP flags controlling which code is included in the files that |
38 |
C will be compiled. |
39 |
|
40 |
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
41 |
|
42 |
C ******************************************************************** |
43 |
C *** Cost function Package *** |
44 |
C ******************************************************************** |
45 |
C |
46 |
C >>> Cost function contributions |
47 |
#define ALLOW_COST |
48 |
#define ALLOW_COST_TEST |
49 |
#undef ALLOW_COST_TRACER |
50 |
#undef ALLOW_COST_ATLANTIC_HEAT |
51 |
#define ALLOW_COST_TSQUARED |
52 |
|
53 |
C ******************************************************************** |
54 |
C *** Control vector Package *** |
55 |
C ******************************************************************** |
56 |
C |
57 |
#define EXCLUDE_CTRL_PACK |
58 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
59 |
C |
60 |
C >>> Initial values. |
61 |
#define ALLOW_THETA0_CONTROL |
62 |
#define ALLOW_SALT0_CONTROL |
63 |
#define ALLOW_TR10_CONTROL |
64 |
#define ALLOW_TAUU0_CONTROL |
65 |
#define ALLOW_TAUV0_CONTROL |
66 |
#define ALLOW_SFLUX0_CONTROL |
67 |
#define ALLOW_HFLUX0_CONTROL |
68 |
#undef ALLOW_SSS0_CONTROL |
69 |
#undef ALLOW_SST0_CONTROL |
70 |
#define ALLOW_DIFFKR_CONTROL |
71 |
#undef ALLOW_KAPGM_CONTROL |
72 |
|
73 |
|
74 |
C ******************************************************************** |
75 |
C *** External forcing Package *** |
76 |
C ******************************************************************** |
77 |
|
78 |
C Do more printout for the protocol file than usual. |
79 |
#define EXF_VERBOSE |
80 |
|
81 |
C Bulk formulae related flags. |
82 |
#define ALLOW_ATM_TEMP |
83 |
#undef ALLOW_ATM_WIND |
84 |
#define ALLOW_DOWNWARD_RADIATION |
85 |
#define ALLOW_RUNOFF |
86 |
#if (defined (ALLOW_ATM_TEMP) || \ |
87 |
defined (ALLOW_ATM_WIND)) |
88 |
# define ALLOW_BULKFORMULAE |
89 |
# undef ALLOW_BULK_LARGEYEAGER04 |
90 |
#endif |
91 |
|
92 |
C Relaxation to monthly climatologies. |
93 |
#define ALLOW_CLIMSST_RELAXATION |
94 |
#define ALLOW_CLIMSSS_RELAXATION |
95 |
|
96 |
C Use spatial interpolation to interpolate |
97 |
C forcing files from input grid to model grid. |
98 |
#undef USE_EXF_INTERPOLATION |
99 |
|
100 |
#define EXF_INTERP_USE_DYNALLOC |
101 |
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |
102 |
# define EXF_IREAD_USE_GLOBAL_POINTER |
103 |
#endif |
104 |
|
105 |
|
106 |
|
107 |
|
108 |
C >>> No Open boundaries |
109 |
#undef ALLOW_OBCSN_CONTROL |
110 |
#undef ALLOW_OBCSS_CONTROL |
111 |
#undef ALLOW_OBCSW_CONTROL |
112 |
#undef ALLOW_OBCSE_CONTROL |
113 |
|