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