1 |
utke |
1.1 |
C |
2 |
|
|
C $Header: /u/gcmpack/MITgcm_contrib/heimbach/OpenAD/code_heat_transport/ECCO_CPPOPTIONS.h,v 1.3 2007/06/08 14:19:53 utke Exp $ |
3 |
|
|
C $Name: $ |
4 |
|
|
|
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 |
18 |
|
|
C >>> Checkpointing as handled by TAMC |
19 |
|
|
#define ALLOW_TAMC_CHECKPOINTING |
20 |
|
|
C |
21 |
|
|
C >>> Extract adjoint state |
22 |
|
|
#define ALLOW_AUTODIFF_MONITOR |
23 |
|
|
C |
24 |
|
|
C >>> DO 2-level checkpointing instead of 3-level |
25 |
|
|
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
26 |
|
|
C |
27 |
|
|
C o use divided adjoint to split adjoint computations |
28 |
|
|
#undef ALLOW_DIVIDED_ADJOINT |
29 |
|
|
C |
30 |
|
|
C o Enable some temporary constructs for OpenAD |
31 |
|
|
#define ALLOW_AUTODIFF_OPENAD |
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 |
|
|
#define ALLOW_COST_TSQUARED |
50 |
|
|
#undef ALLOW_COST_TRACER |
51 |
|
|
#undef ALLOW_COST_ATLANTIC_HEAT |
52 |
|
|
#undef ALLOW_COST_ATLANTIC_HEAT_DOMASS |
53 |
|
|
|
54 |
|
|
#define DISABLE_CTRL_THETA_LIMIT |
55 |
|
|
|
56 |
|
|
C ******************************************************************** |
57 |
|
|
C *** Control vector Package *** |
58 |
|
|
C ******************************************************************** |
59 |
|
|
C |
60 |
|
|
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
61 |
|
|
C >>> Initial values. |
62 |
|
|
#define ALLOW_THETA0_CONTROL |
63 |
|
|
#define ALLOW_SALT0_CONTROL |
64 |
|
|
#undef ALLOW_TR10_CONTROL |
65 |
|
|
#undef ALLOW_TAUU0_CONTROL |
66 |
|
|
#undef ALLOW_TAUV0_CONTROL |
67 |
|
|
#undef ALLOW_SFLUX0_CONTROL |
68 |
|
|
#undef ALLOW_HFLUX0_CONTROL |
69 |
|
|
#undef ALLOW_SSS0_CONTROL |
70 |
|
|
#undef ALLOW_SST0_CONTROL |
71 |
|
|
#define ALLOW_DIFFKR_CONTROL |
72 |
|
|
#undef ALLOW_KAPGM_CONTROL |