1 |
edhill |
1.3 |
C |
2 |
heimbach |
1.8 |
C $Header: /u/gcmpack/MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h,v 1.7 2004/09/27 18:03:14 heimbach Exp $ |
3 |
edhill |
1.4 |
C $Name: $ |
4 |
edhill |
1.3 |
|
5 |
heimbach |
1.2 |
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 |
heimbach |
1.8 |
C |
18 |
heimbach |
1.2 |
C >>> Checkpointing as handled by TAMC |
19 |
|
|
#define ALLOW_TAMC_CHECKPOINTING |
20 |
|
|
C |
21 |
|
|
C >>> Extract adjoint state |
22 |
heimbach |
1.7 |
#define ALLOW_AUTODIFF_MONITOR |
23 |
heimbach |
1.2 |
C |
24 |
heimbach |
1.8 |
C >>> DO 2-level checkpointing instead of 3-level |
25 |
|
|
#define AUTODIFF_2_LEVEL_CHECKPOINT |
26 |
|
|
C |
27 |
heimbach |
1.2 |
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 |
heimbach |
1.6 |
|
37 |
|
|
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
38 |
heimbach |
1.2 |
|
39 |
|
|
C ******************************************************************** |
40 |
|
|
C *** Cost function Package *** |
41 |
|
|
C ******************************************************************** |
42 |
|
|
C |
43 |
|
|
C >>> Cost function contributions |
44 |
|
|
#define ALLOW_COST |
45 |
|
|
#undef ALLOW_COST_TEST |
46 |
|
|
#undef ALLOW_COST_TRACER |
47 |
|
|
#define 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 |
|
|
#undef ALLOW_TR10_CONTROL |
58 |
|
|
#define ALLOW_TAUU0_CONTROL |
59 |
|
|
#define ALLOW_TAUV0_CONTROL |
60 |
|
|
#define ALLOW_SFLUX0_CONTROL |
61 |
|
|
#define ALLOW_HFLUX0_CONTROL |
62 |
|
|
#undef ALLOW_SSS0_CONTROL |
63 |
|
|
#undef ALLOW_SST0_CONTROL |
64 |
|
|
#define ALLOW_DIFFKR_CONTROL |
65 |
|
|
#undef ALLOW_KAPGM_CONTROL |
66 |
|
|
|