1 |
mlosch |
1.4 |
C $Header: /u/gcmpack/MITgcm/verification/global_ocean.cs32x15/code_ad/ECCO_CPPOPTIONS.h,v 1.3 2010/05/19 08:14:16 mlosch Exp $ |
2 |
heimbach |
1.1 |
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 |
heimbach |
1.2 |
#define ALLOW_AUTODIFF_MONITOR |
22 |
heimbach |
1.1 |
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 |
|
|
C ******************************************************************** |
31 |
|
|
C *** Calender Package *** |
32 |
|
|
C ******************************************************************** |
33 |
|
|
C |
34 |
|
|
C CPP flags controlling which code is included in the files that |
35 |
|
|
C will be compiled. |
36 |
|
|
|
37 |
|
|
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
38 |
|
|
|
39 |
|
|
C ******************************************************************** |
40 |
|
|
C *** Cost function Package *** |
41 |
|
|
C ******************************************************************** |
42 |
|
|
C |
43 |
|
|
C >>> Cost function contributions |
44 |
|
|
#define ALLOW_COST |
45 |
|
|
#define ALLOW_COST_TEST |
46 |
|
|
#undef ALLOW_COST_TRACER |
47 |
|
|
#undef ALLOW_COST_ATLANTIC_HEAT |
48 |
|
|
#define ALLOW_COST_TSQUARED |
49 |
|
|
|
50 |
|
|
C ******************************************************************** |
51 |
|
|
C *** Control vector Package *** |
52 |
|
|
C ******************************************************************** |
53 |
|
|
C |
54 |
|
|
#define EXCLUDE_CTRL_PACK |
55 |
|
|
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
56 |
|
|
C |
57 |
|
|
C >>> Initial values. |
58 |
|
|
#define ALLOW_THETA0_CONTROL |
59 |
|
|
#define ALLOW_SALT0_CONTROL |
60 |
|
|
#define ALLOW_TR10_CONTROL |
61 |
|
|
#define ALLOW_TAUU0_CONTROL |
62 |
|
|
#define ALLOW_TAUV0_CONTROL |
63 |
|
|
#define ALLOW_SFLUX0_CONTROL |
64 |
|
|
#define ALLOW_HFLUX0_CONTROL |
65 |
|
|
#undef ALLOW_SSS0_CONTROL |
66 |
|
|
#undef ALLOW_SST0_CONTROL |
67 |
|
|
#define ALLOW_DIFFKR_CONTROL |
68 |
|
|
#undef ALLOW_KAPGM_CONTROL |
69 |
|
|
|
70 |
|
|
|
71 |
|
|
C ******************************************************************** |
72 |
|
|
C *** External forcing Package *** |
73 |
|
|
C ******************************************************************** |
74 |
|
|
|
75 |
|
|
C Do more printout for the protocol file than usual. |
76 |
|
|
#define EXF_VERBOSE |
77 |
|
|
|
78 |
|
|
C Bulk formulae related flags. |
79 |
|
|
#define ALLOW_ATM_TEMP |
80 |
mlosch |
1.4 |
#undef ALLOW_ATM_WIND |
81 |
heimbach |
1.1 |
#define ALLOW_DOWNWARD_RADIATION |
82 |
|
|
#define ALLOW_RUNOFF |
83 |
|
|
#if (defined (ALLOW_ATM_TEMP) || \ |
84 |
|
|
defined (ALLOW_ATM_WIND)) |
85 |
|
|
# define ALLOW_BULKFORMULAE |
86 |
mlosch |
1.4 |
# undef ALLOW_BULK_LARGEYEAGER04 |
87 |
heimbach |
1.1 |
#endif |
88 |
|
|
|
89 |
|
|
C Relaxation to monthly climatologies. |
90 |
|
|
#define ALLOW_CLIMSST_RELAXATION |
91 |
|
|
#define ALLOW_CLIMSSS_RELAXATION |
92 |
|
|
|
93 |
|
|
C Use spatial interpolation to interpolate |
94 |
|
|
C forcing files from input grid to model grid. |
95 |
|
|
#undef USE_EXF_INTERPOLATION |
96 |
|
|
|
97 |
|
|
#define EXF_INTERP_USE_DYNALLOC |
98 |
|
|
#if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) ) |
99 |
|
|
# define EXF_IREAD_USE_GLOBAL_POINTER |
100 |
|
|
#endif |
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
C >>> No Open boundaries |
106 |
|
|
#undef ALLOW_OBCSN_CONTROL |
107 |
|
|
#undef ALLOW_OBCSS_CONTROL |
108 |
|
|
#undef ALLOW_OBCSW_CONTROL |
109 |
|
|
#undef ALLOW_OBCSE_CONTROL |
110 |
|
|
|