1 |
C $Header: /u/gcmpack/MITgcm/verification/halfpipe_streamice/code_ad/ECCO_CPPOPTIONS.h,v 1.4 2014/09/09 23:36:57 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifndef ECCO_CPPOPTIONS_H |
5 |
#define ECCO_CPPOPTIONS_H |
6 |
|
7 |
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 |
#define ALLOW_AUTODIFF_TAMC |
19 |
|
20 |
C >>> Checkpointing as handled by TAMC |
21 |
#define ALLOW_TAMC_CHECKPOINTING |
22 |
|
23 |
C >>> Extract adjoint state |
24 |
#undef ALLOW_AUTODIFF_MONITOR |
25 |
|
26 |
C >>> DO 2-level checkpointing instead of 3-level |
27 |
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
28 |
|
29 |
C o use divided adjoint to split adjoint computations |
30 |
#undef ALLOW_DIVIDED_ADJOINT |
31 |
|
32 |
C ******************************************************************** |
33 |
C *** Cost function Package *** |
34 |
C ******************************************************************** |
35 |
|
36 |
C >>> Cost function contributions |
37 |
#define ALLOW_COST_TEST |
38 |
|
39 |
C ******************************************************************** |
40 |
C *** Control vector Package *** |
41 |
C ******************************************************************** |
42 |
|
43 |
#undef EXCLUDE_CTRL_PACK |
44 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
45 |
|
46 |
C >>> Initial values. |
47 |
#define ALLOW_GENARR2D_CONTROL |
48 |
#define ALLOW_GENTIM2D_CONTROL |
49 |
|
50 |
#endif /* ECCO_CPPOPTIONS_H */ |