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 |
#undef ALLOW_ECCO_FORWARD_RUN |
#undef ALLOW_ECCO_FORWARD_RUN |
20 |
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
21 |
#undef ALLOW_ECCO_OPTIMIZATION |
#undef ALLOW_ECCO_OPTIMIZATION |
30 |
C o Include/exclude code in order to be able to automatically |
C o Include/exclude code in order to be able to automatically |
31 |
C differentiate the MITgcmUV by using the Tangent Linear and |
C differentiate the MITgcmUV by using the Tangent Linear and |
32 |
C Adjoint Model Compiler (TAMC). |
C Adjoint Model Compiler (TAMC). |
33 |
cph#define INCLUDE_AUTODIFF_PACKAGE |
|
|
C |
|
34 |
#define ALLOW_AUTODIFF_TAMC |
#define ALLOW_AUTODIFF_TAMC |
35 |
C >>> Checkpointing as handled by TAMC |
C >>> Checkpointing as handled by TAMC |
36 |
#define ALLOW_TAMC_CHECKPOINTING |
#define ALLOW_TAMC_CHECKPOINTING |
37 |
C Include/exclude adjoint monitor routine |
C Include/exclude adjoint monitor routine |
38 |
#undef ALLOW_AUTODIFF_MONITOR |
#undef ALLOW_AUTODIFF_MONITOR |
39 |
C#define ALLOW_AUTODIFF_MONITOR |
|
40 |
C Include/exclude atmosphere-specific code |
C Include/exclude atmosphere-specific code |
41 |
#undef ALLOW_AUTODIFF_ATMOSPHERE |
#undef ALLOW_AUTODIFF_ATMOSPHERE |
42 |
|
|
43 |
C ******************************************************************** |
C ******************************************************************** |
44 |
C *** Calender Package *** |
C *** Calendar Package *** |
45 |
C ******************************************************************** |
C ******************************************************************** |
46 |
C |
|
47 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
48 |
C will be compiled. |
C will be compiled. |
|
C |
|
|
C o Include the calendar tool. |
|
|
#undef ALLOW_CALENDAR |
|
|
#undef ALLOW_CAL_NENDITER |
|
49 |
|
|
50 |
C ******************************************************************** |
C ******************************************************************** |
51 |
C *** Cost function Package *** |
C *** Cost function Package *** |
52 |
C ******************************************************************** |
C ******************************************************************** |
53 |
C |
|
54 |
C >>> Cost function contributions |
C >>> Cost function contributions |
|
#define ALLOW_COST |
|
55 |
#define ALLOW_COST_TEST |
#define ALLOW_COST_TEST |
56 |
Cml#define ALLOW_COST_TRACER |
Cml#define ALLOW_COST_TRACER |
57 |
#undef ALLOW_COST_TRACER |
#undef ALLOW_COST_TRACER |
60 |
C ******************************************************************** |
C ******************************************************************** |
61 |
C *** Control vector Package *** |
C *** Control vector Package *** |
62 |
C ******************************************************************** |
C ******************************************************************** |
63 |
C |
|
64 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
65 |
C >>> Initial values. |
C >>> Initial values. |
66 |
Cml#define ALLOW_THETA0_CONTROL |
Cml#define ALLOW_THETA0_CONTROL |
81 |
# define USE_SMOOTH_MIN |
# define USE_SMOOTH_MIN |
82 |
#endif /* ALLOW_DEPTH_CONTROL */ |
#endif /* ALLOW_DEPTH_CONTROL */ |
83 |
|
|
84 |
|
C ******************************************************************** |
85 |
|
#endif /* ECCO_CPPOPTIONS_H */ |