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