|
C |
|
1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
|
#ifndef ECCO_CPPOPTIONS_H |
5 |
|
#define ECCO_CPPOPTIONS_H |
6 |
|
|
7 |
|
C-- Collect here, in a single option-file, options to control which optional |
8 |
|
C features to compile in packages AUTODIFF, COST, CTRL, ECCO, CAL and EXF. |
9 |
|
C If used, this option-file needs to be directly included in CPP_OPTIONS.h |
10 |
|
C Although this method, inherited from ECCO setup, has been traditionally |
11 |
|
C used for all adjoint built, work is in progess to allow to use the |
12 |
|
C standard metod (each of the above pkg get its own options from its |
13 |
|
C specific option-file) also for adjoint built. |
14 |
|
|
15 |
C ******************************************************************** |
C ******************************************************************** |
16 |
C *** Adjoint Support Package *** |
C *** Adjoint Support Package *** |
17 |
C ******************************************************************** |
C ******************************************************************** |
19 |
C o Include/exclude code in order to be able to automatically |
C o Include/exclude code in order to be able to automatically |
20 |
C differentiate the MITgcmUV by using the Tangent Linear and |
C differentiate the MITgcmUV by using the Tangent Linear and |
21 |
C Adjoint Model Compiler (TAMC). |
C Adjoint Model Compiler (TAMC). |
22 |
C |
|
23 |
#define ALLOW_AUTODIFF_TAMC |
#define ALLOW_AUTODIFF_TAMC |
24 |
C >>> Checkpointing as handled by TAMC |
C >>> Checkpointing as handled by TAMC |
25 |
#define ALLOW_TAMC_CHECKPOINTING |
#define ALLOW_TAMC_CHECKPOINTING |
26 |
C |
|
27 |
C >>> Extract adjoint state |
C >>> Extract adjoint state |
28 |
#define ALLOW_AUTODIFF_MONITOR |
#define ALLOW_AUTODIFF_MONITOR |
29 |
|
|
30 |
C ******************************************************************** |
C ******************************************************************** |
31 |
C *** Calender Package *** |
C *** Calendar Package *** |
32 |
C ******************************************************************** |
C ******************************************************************** |
33 |
C |
|
34 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
35 |
C will be compiled. |
C will be compiled. |
36 |
|
|
39 |
C ******************************************************************** |
C ******************************************************************** |
40 |
C *** Cost function Package *** |
C *** Cost function Package *** |
41 |
C ******************************************************************** |
C ******************************************************************** |
42 |
C |
|
43 |
C >>> Cost function contributions |
C >>> Cost function contributions |
|
#define ALLOW_COST |
|
44 |
#define ALLOW_COST_TEST |
#define ALLOW_COST_TEST |
45 |
#undef ALLOW_COST_TRACER |
#undef ALLOW_COST_TRACER |
46 |
|
|
47 |
C ******************************************************************** |
C ******************************************************************** |
48 |
C *** Control vector Package *** |
C *** Control vector Package *** |
49 |
C ******************************************************************** |
C ******************************************************************** |
50 |
C |
|
51 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
52 |
C >>> Initial values. |
C >>> Initial values. |
53 |
#undef ALLOW_THETA0_CONTROL |
#undef ALLOW_THETA0_CONTROL |
66 |
#define ALLOW_GENARR2D_CONTROL |
#define ALLOW_GENARR2D_CONTROL |
67 |
#define ALLOW_GENARR3D_CONTROL |
#define ALLOW_GENARR3D_CONTROL |
68 |
cph) |
cph) |
69 |
|
|
70 |
|
C ******************************************************************** |
71 |
|
#endif /* ECCO_CPPOPTIONS_H */ |