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