/[MITgcm]/MITgcm/verification/hs94.1x64x5/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/hs94.1x64x5/code_ad/ECCO_CPPOPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Thu Aug 9 18:15:57 2012 UTC (12 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint63r, checkpoint63s, checkpoint64
Changes since 1.5: +21 -9 lines
File MIME type: text/plain
- reccord when this file is included (define ECCO_CPPOPTIONS_H)
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not
  allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h)

1 C $Header: /u/gcmpack/MITgcm/verification/hs94.1x64x5/code_ad/ECCO_CPPOPTIONS.h,v 1.5 2012/07/31 17:49:25 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
27 C >>> Extract adjoint state
28 #define ALLOW_AUTODIFF_MONITOR
29
30 C ********************************************************************
31 C *** Calendar Package ***
32 C ********************************************************************
33
34 C CPP flags controlling which code is included in the files that
35 C will be compiled.
36
37 CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
38
39 C ********************************************************************
40 C *** Cost function Package ***
41 C ********************************************************************
42
43 C >>> Cost function contributions
44 #define ALLOW_COST_TEST
45 #undef ALLOW_COST_TRACER
46
47 C ********************************************************************
48 C *** Control vector Package ***
49 C ********************************************************************
50
51 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
52 C >>> Initial values.
53 #undef ALLOW_THETA0_CONTROL
54 #undef ALLOW_SALT0_CONTROL
55 #undef ALLOW_TR10_CONTROL
56 #undef ALLOW_TAUU0_CONTROL
57 #undef ALLOW_TAUV0_CONTROL
58 #undef ALLOW_SFLUX0_CONTROL
59 #undef ALLOW_HFLUX0_CONTROL
60 #undef ALLOW_SSS0_CONTROL
61 #undef ALLOW_SST0_CONTROL
62 #define ALLOW_DIFFKR_CONTROL
63 #undef ALLOW_KAPGM_CONTROL
64 cph(
65 #define ALLOW_BOTTOMDRAG_CONTROL
66 #define ALLOW_GENARR2D_CONTROL
67 #define ALLOW_GENARR3D_CONTROL
68 cph)
69
70 C ********************************************************************
71 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22