1 |
dgoldberg |
1.1 |
C $Header: /u/gcmpack/MITgcm_contrib/dgoldberg/code_ad_flowline/ECCO_CPPOPTIONS.h,v 1.1 2012/07/20 13:42:07 heimbach Exp $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
C |
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 >>> Checkpointing as handled by TAMC |
18 |
|
|
#define ALLOW_TAMC_CHECKPOINTING |
19 |
|
|
C |
20 |
|
|
C >>> Extract adjoint state |
21 |
|
|
#undef ALLOW_AUTODIFF_MONITOR |
22 |
|
|
C |
23 |
|
|
C >>> DO 2-level checkpointing instead of 3-level |
24 |
|
|
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
25 |
|
|
C |
26 |
|
|
C o use divided adjoint to split adjoint computations |
27 |
|
|
#undef ALLOW_DIVIDED_ADJOINT |
28 |
|
|
#undef ALLOW_DIVIDED_ADJOINT_MPI |
29 |
|
|
|
30 |
|
|
C ******************************************************************** |
31 |
|
|
C *** Cost function Package *** |
32 |
|
|
C ******************************************************************** |
33 |
|
|
C |
34 |
|
|
C >>> Cost function contributions |
35 |
|
|
#define ALLOW_COST_TEST |
36 |
|
|
|
37 |
|
|
C ******************************************************************** |
38 |
|
|
C *** Control vector Package *** |
39 |
|
|
C ******************************************************************** |
40 |
|
|
C |
41 |
|
|
#undef EXCLUDE_CTRL_PACK |
42 |
|
|
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
43 |
|
|
C |
44 |
|
|
C >>> Initial values. |
45 |
|
|
#define ALLOW_GENARR2D_CONTROL |
46 |
|
|
|