1 |
C $Header: /u/gcmpack/MITgcm/verification/front_relax/code_ad/ECCO_CPPOPTIONS.h,v 1.4 2003/11/25 19:04:16 heimbach Exp $ |
2 |
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 ******************************************************************** |
16 |
C *** Adjoint Support Package *** |
17 |
C ******************************************************************** |
18 |
|
19 |
C o Include/exclude code in order to be able to automatically |
20 |
C differentiate the MITgcmUV by using the Tangent Linear and |
21 |
C Adjoint Model Compiler (TAMC). |
22 |
|
23 |
#define ALLOW_AUTODIFF_TAMC |
24 |
C >>> Checkpointing as handled by TAMC |
25 |
#define ALLOW_TAMC_CHECKPOINTING |
26 |
C |
27 |
C >>> Extract adjoint state |
28 |
#undef ALLOW_AUTODIFF_MONITOR |
29 |
C |
30 |
C o use divided adjoint to split adjoint computations |
31 |
#undef ALLOW_DIVIDED_ADJOINT |
32 |
|
33 |
C ******************************************************************** |
34 |
C *** Calender Package *** |
35 |
C ******************************************************************** |
36 |
C |
37 |
C CPP flags controlling which code is included in the files that |
38 |
C will be compiled. |
39 |
|
40 |
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
41 |
|
42 |
C ******************************************************************** |
43 |
C *** Cost function Package *** |
44 |
C ******************************************************************** |
45 |
C |
46 |
C >>> Cost function contributions |
47 |
#define ALLOW_COST |
48 |
#define ALLOW_COST_TEST |
49 |
#undef ALLOW_COST_TRACER |
50 |
#undef ALLOW_COST_ATLANTIC_HEAT |
51 |
|
52 |
C ******************************************************************** |
53 |
C *** Control vector Package *** |
54 |
C ******************************************************************** |
55 |
C |
56 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
57 |
C >>> Initial values. |
58 |
#define ALLOW_THETA0_CONTROL |
59 |
#define ALLOW_SALT0_CONTROL |
60 |
#define ALLOW_TR10_CONTROL |
61 |
#define ALLOW_TAUU0_CONTROL |
62 |
#define ALLOW_TAUV0_CONTROL |
63 |
#define ALLOW_SFLUX0_CONTROL |
64 |
#define ALLOW_HFLUX0_CONTROL |
65 |
#undef ALLOW_SSS0_CONTROL |
66 |
#undef ALLOW_SST0_CONTROL |
67 |
#define ALLOW_DIFFKR_CONTROL |
68 |
#undef ALLOW_KAPGM_CONTROL |
69 |
|
70 |
C ******************************************************************** |
71 |
#endif /* ECCO_CPPOPTIONS_H */ |