1 |
C $Header: /u/gcmpack/MITgcm/verification/halfpipe_streamice/code_ad/ECCO_CPPOPTIONS.h,v 1.1 2013/06/24 21:33:19 dgoldberg 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 |
|
29 |
C ******************************************************************** |
30 |
C *** Cost function Package *** |
31 |
C ******************************************************************** |
32 |
C |
33 |
C >>> Cost function contributions |
34 |
#define ALLOW_COST_TEST |
35 |
|
36 |
C ******************************************************************** |
37 |
C *** Control vector Package *** |
38 |
C ******************************************************************** |
39 |
C |
40 |
#undef EXCLUDE_CTRL_PACK |
41 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
42 |
C |
43 |
C >>> Initial values. |
44 |
#define ALLOW_GENARR2D_CONTROL |
45 |
|