1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C |
#ifndef ECCO_CPPOPTIONS_H |
5 |
C CPP flags controlling which code is included in the files that |
#define ECCO_CPPOPTIONS_H |
6 |
C will be compiled. |
|
7 |
C |
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 *** ECCO Package *** |
C *** ECCO Package *** |
17 |
C ******************************************************************** |
C ******************************************************************** |
18 |
C |
|
19 |
|
C allow use of legacy ecco/ctrl codes |
20 |
|
#define ECCO_CTRL_DEPRECATED |
21 |
|
|
22 |
#undef ALLOW_ECCO_FORWARD_RUN |
#undef ALLOW_ECCO_FORWARD_RUN |
23 |
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
24 |
#undef ALLOW_ECCO_OPTIMIZATION |
#undef ALLOW_ECCO_OPTIMIZATION |
33 |
C o Include/exclude code in order to be able to automatically |
C o Include/exclude code in order to be able to automatically |
34 |
C differentiate the MITgcmUV by using the Tangent Linear and |
C differentiate the MITgcmUV by using the Tangent Linear and |
35 |
C Adjoint Model Compiler (TAMC). |
C Adjoint Model Compiler (TAMC). |
36 |
cph#define INCLUDE_AUTODIFF_PACKAGE |
|
|
C |
|
37 |
#define ALLOW_AUTODIFF_TAMC |
#define ALLOW_AUTODIFF_TAMC |
38 |
C >>> Checkpointing as handled by TAMC |
C >>> Checkpointing as handled by TAMC |
39 |
#define ALLOW_TAMC_CHECKPOINTING |
#define ALLOW_TAMC_CHECKPOINTING |
40 |
C Include/exclude adjoint monitor routine |
C Include/exclude adjoint monitor routine |
41 |
#undef ALLOW_AUTODIFF_MONITOR |
#undef ALLOW_AUTODIFF_MONITOR |
42 |
C#define ALLOW_AUTODIFF_MONITOR |
|
43 |
C Include/exclude atmosphere-specific code |
C Include/exclude atmosphere-specific code |
44 |
#undef ALLOW_AUTODIFF_ATMOSPHERE |
#undef ALLOW_AUTODIFF_ATMOSPHERE |
45 |
|
|
46 |
C ******************************************************************** |
C ******************************************************************** |
47 |
C *** Calender Package *** |
C *** Calendar Package *** |
48 |
C ******************************************************************** |
C ******************************************************************** |
49 |
C |
|
50 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
51 |
C will be compiled. |
C will be compiled. |
|
C |
|
|
C o Include the calendar tool. |
|
|
#undef ALLOW_CALENDAR |
|
|
#undef ALLOW_CAL_NENDITER |
|
52 |
|
|
53 |
C ******************************************************************** |
C ******************************************************************** |
54 |
C *** Cost function Package *** |
C *** Cost function Package *** |
55 |
C ******************************************************************** |
C ******************************************************************** |
56 |
C |
|
57 |
C >>> Cost function contributions |
C >>> Cost function contributions |
|
#define ALLOW_COST |
|
58 |
#define ALLOW_COST_TEST |
#define ALLOW_COST_TEST |
59 |
Cml#define ALLOW_COST_TRACER |
Cml#define ALLOW_COST_TRACER |
60 |
#undef ALLOW_COST_TRACER |
#undef ALLOW_COST_TRACER |
63 |
C ******************************************************************** |
C ******************************************************************** |
64 |
C *** Control vector Package *** |
C *** Control vector Package *** |
65 |
C ******************************************************************** |
C ******************************************************************** |
66 |
C |
|
67 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
68 |
C >>> Initial values. |
C >>> Initial values. |
69 |
Cml#define ALLOW_THETA0_CONTROL |
Cml#define ALLOW_THETA0_CONTROL |
84 |
# define USE_SMOOTH_MIN |
# define USE_SMOOTH_MIN |
85 |
#endif /* ALLOW_DEPTH_CONTROL */ |
#endif /* ALLOW_DEPTH_CONTROL */ |
86 |
|
|
87 |
|
C ******************************************************************** |
88 |
|
#endif /* ECCO_CPPOPTIONS_H */ |