|
C |
|
1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C CPP flags controlling which code is included in the files that |
#ifndef ECCO_CPPOPTIONS_H |
5 |
C will be compiled. |
#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 *** |
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 |
|
25 |
C >>> Checkpointing as handled by TAMC |
C >>> Checkpointing as handled by TAMC |
26 |
#define ALLOW_TAMC_CHECKPOINTING |
#define ALLOW_TAMC_CHECKPOINTING |
27 |
C |
|
28 |
C >>> Extract adjoint state |
C >>> Extract adjoint state |
29 |
#define ALLOW_AUTODIFF_MONITOR |
#define ALLOW_AUTODIFF_MONITOR |
30 |
C |
|
31 |
C >>> DO 2-level checkpointing instead of 3-level |
C >>> DO 2-level checkpointing instead of 3-level |
32 |
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
33 |
C |
|
34 |
C o use divided adjoint to split adjoint computations |
C o use divided adjoint to split adjoint computations |
35 |
#undef ALLOW_DIVIDED_ADJOINT |
#undef ALLOW_DIVIDED_ADJOINT |
36 |
|
|
37 |
|
C o TAMC compatible subroutine parameter list |
38 |
|
#undef AUTODIFF_TAMC_COMPATIBILITY |
39 |
|
|
40 |
C ******************************************************************** |
C ******************************************************************** |
41 |
C *** Calender Package *** |
C *** Calendar Package *** |
42 |
C ******************************************************************** |
C ******************************************************************** |
43 |
C |
|
44 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
45 |
C will be compiled. |
C will be compiled. |
46 |
|
|
49 |
C ******************************************************************** |
C ******************************************************************** |
50 |
C *** Cost function Package *** |
C *** Cost function Package *** |
51 |
C ******************************************************************** |
C ******************************************************************** |
52 |
C |
|
53 |
C >>> Cost function contributions |
C >>> Cost function contributions |
|
#define ALLOW_COST |
|
54 |
#undef ALLOW_COST_TEST |
#undef ALLOW_COST_TEST |
55 |
#undef ALLOW_COST_TRACER |
#undef ALLOW_COST_TRACER |
56 |
#define ALLOW_COST_ATLANTIC_HEAT |
#define ALLOW_COST_ATLANTIC_HEAT |
58 |
C ******************************************************************** |
C ******************************************************************** |
59 |
C *** Control vector Package *** |
C *** Control vector Package *** |
60 |
C ******************************************************************** |
C ******************************************************************** |
61 |
C |
|
62 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
63 |
|
#undef ALLOW_TAMC_SINGLEPREC_COMLEV |
64 |
|
|
65 |
C >>> Initial values. |
C >>> Initial values. |
66 |
#define ALLOW_THETA0_CONTROL |
#define ALLOW_THETA0_CONTROL |
67 |
#define ALLOW_SALT0_CONTROL |
#define ALLOW_SALT0_CONTROL |
74 |
#undef ALLOW_SST0_CONTROL |
#undef ALLOW_SST0_CONTROL |
75 |
#define ALLOW_DIFFKR_CONTROL |
#define ALLOW_DIFFKR_CONTROL |
76 |
#define ALLOW_KAPGM_CONTROL |
#define ALLOW_KAPGM_CONTROL |
77 |
|
#define ALLOW_KAPREDI_CONTROL |
78 |
|
#define ALLOW_BOTTOMDRAG_CONTROL |
79 |
|
#define ALLOW_GENARR2D_CONTROL |
80 |
|
|
81 |
|
C ******************************************************************** |
82 |
|
#endif /* ECCO_CPPOPTIONS_H */ |