1 |
C |
2 |
C $Header: $ |
3 |
C $Name: $ |
4 |
|
5 |
#include "AD_CONFIG.h" |
6 |
|
7 |
C |
8 |
C CPP flags controlling which code is included in the files that |
9 |
C will be compiled. |
10 |
C |
11 |
C ******************************************************************** |
12 |
C *** ECCO Package *** |
13 |
C ******************************************************************** |
14 |
C |
15 |
#undef ALLOW_ECCO_FORWARD_RUN |
16 |
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
17 |
#undef ALLOW_ECCO_OPTIMIZATION |
18 |
|
19 |
C >>> Do a long protocol. |
20 |
#undef ECCO_VERBOSE |
21 |
|
22 |
C ******************************************************************** |
23 |
C *** Adjoint Support Package *** |
24 |
C ******************************************************************** |
25 |
|
26 |
C o Include/exclude code in order to be able to automatically |
27 |
C differentiate the MITgcmUV by using the Tangent Linear and |
28 |
C Adjoint Model Compiler (TAMC). |
29 |
cph#define INCLUDE_AUTODIFF_PACKAGE |
30 |
C |
31 |
#define ALLOW_AUTODIFF_TAMC |
32 |
C >>> Checkpointing as handled by TAMC |
33 |
#define ALLOW_TAMC_CHECKPOINTING |
34 |
C |
35 |
C >>> Extract adjoint state |
36 |
#undef ALLOW_AUTODIFF_MONITOR |
37 |
C |
38 |
C o use divided adjoint to split adjoint computations |
39 |
#undef ALLOW_DIVIDED_ADJOINT |
40 |
|
41 |
C ******************************************************************** |
42 |
C *** Calender Package *** |
43 |
C ******************************************************************** |
44 |
C |
45 |
C CPP flags controlling which code is included in the files that |
46 |
C will be compiled. |
47 |
C |
48 |
C o Include the calendar tool. |
49 |
#undef ALLOW_CALENDAR |
50 |
#undef ALLOW_CAL_NENDITER |
51 |
|
52 |
C ******************************************************************** |
53 |
C *** Cost function Package *** |
54 |
C ******************************************************************** |
55 |
C |
56 |
C >>> Cost function contributions |
57 |
#define ALLOW_COST |
58 |
#undef ALLOW_COST_TEST |
59 |
#undef ALLOW_COST_TRACER |
60 |
#define ALLOW_COST_ATLANTIC_HEAT |
61 |
|
62 |
C ******************************************************************** |
63 |
C *** Control vector Package *** |
64 |
C ******************************************************************** |
65 |
C |
66 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
67 |
C >>> Initial values. |
68 |
#define ALLOW_THETA0_CONTROL |
69 |
#define ALLOW_SALT0_CONTROL |
70 |
#undef ALLOW_TR10_CONTROL |
71 |
#define ALLOW_TAUU0_CONTROL |
72 |
#define ALLOW_TAUV0_CONTROL |
73 |
#define ALLOW_SFLUX0_CONTROL |
74 |
#define ALLOW_HFLUX0_CONTROL |
75 |
#undef ALLOW_SSS0_CONTROL |
76 |
#undef ALLOW_SST0_CONTROL |
77 |
#define ALLOW_DIFFKR_CONTROL |
78 |
#undef ALLOW_KAPGM_CONTROL |
79 |
|