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