1 |
C |
2 |
C $Header: /u/gcmpack/MITgcm/verification/OpenAD/code_ad/ECCO_CPPOPTIONS.h,v 1.4 2006/07/13 19:35:46 heimbach 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 |
#undef 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 |
|
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 |
|
49 |
C ******************************************************************** |
50 |
C *** Control vector Package *** |
51 |
C ******************************************************************** |
52 |
C |
53 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
54 |
C >>> Initial values. |
55 |
#define ALLOW_THETA0_CONTROL |
56 |
#define ALLOW_SALT0_CONTROL |
57 |
#define ALLOW_UVEL0_CONTROL |
58 |
#define ALLOW_VVEL0_CONTROL |
59 |
#define ALLOW_ETAN0_CONTROL |
60 |
#undef ALLOW_TR10_CONTROL |
61 |
#undef ALLOW_TAUU0_CONTROL |
62 |
#undef ALLOW_TAUV0_CONTROL |
63 |
#undef ALLOW_SFLUX0_CONTROL |
64 |
#undef ALLOW_HFLUX0_CONTROL |
65 |
#undef ALLOW_SSS0_CONTROL |
66 |
#undef ALLOW_SST0_CONTROL |
67 |
#undef ALLOW_DIFFKR_CONTROL |
68 |
#undef ALLOW_KAPGM_CONTROL |
69 |
|