/[MITgcm]/MITgcm/verification/bottom_ctrl_5x5/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/bottom_ctrl_5x5/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.3 - (show annotations) (download)
Thu Aug 9 18:15:57 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63r, checkpoint63s, checkpoint64, checkpoint65, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65d, checkpoint65e
Changes since 1.2: +21 -18 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/bottom_ctrl_5x5/code_ad/ECCO_CPPOPTIONS.h,v 1.2 2007/10/09 02:36:41 jmc 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 *** ECCO Package ***
17 C ********************************************************************
18
19 #undef ALLOW_ECCO_FORWARD_RUN
20 #undef ALLOW_ECCO_DIAGNOSTICS_RUN
21 #undef ALLOW_ECCO_OPTIMIZATION
22
23 C >>> Do a long protocol.
24 #undef ECCO_VERBOSE
25
26 C ********************************************************************
27 C *** Adjoint Support Package ***
28 C ********************************************************************
29
30 C o Include/exclude code in order to be able to automatically
31 C differentiate the MITgcmUV by using the Tangent Linear and
32 C Adjoint Model Compiler (TAMC).
33
34 #define ALLOW_AUTODIFF_TAMC
35 C >>> Checkpointing as handled by TAMC
36 #define ALLOW_TAMC_CHECKPOINTING
37 C Include/exclude adjoint monitor routine
38 #undef ALLOW_AUTODIFF_MONITOR
39
40 C Include/exclude atmosphere-specific code
41 #undef ALLOW_AUTODIFF_ATMOSPHERE
42
43 C ********************************************************************
44 C *** Calendar Package ***
45 C ********************************************************************
46
47 C CPP flags controlling which code is included in the files that
48 C will be compiled.
49
50 C ********************************************************************
51 C *** Cost function Package ***
52 C ********************************************************************
53
54 C >>> Cost function contributions
55 #define ALLOW_COST_TEST
56 Cml#define ALLOW_COST_TRACER
57 #undef ALLOW_COST_TRACER
58 #define ALLOW_COST_DEPTH
59
60 C ********************************************************************
61 C *** Control vector Package ***
62 C ********************************************************************
63
64 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
65 C >>> Initial values.
66 Cml#define ALLOW_THETA0_CONTROL
67 Cml#define ALLOW_SALT0_CONTROL
68 Cml#define ALLOW_TR10_CONTROL
69 Cml#define ALLOW_TAUU0_CONTROL
70 Cml#define ALLOW_TAUV0_CONTROL
71 Cml#define ALLOW_SFLUX0_CONTROL
72 Cml#define ALLOW_HFLUX0_CONTROL
73 #undef ALLOW_SSS0_CONTROL
74 #undef ALLOW_SST0_CONTROL
75 Cml#define ALLOW_DIFFKR_CONTROL
76 #undef ALLOW_KAPGM_CONTROL
77 C o only topography as a control vector
78 #define ALLOW_DEPTH_CONTROL
79 #ifdef ALLOW_DEPTH_CONTROL
80 # define ALLOW_CG2D_NSA
81 # define USE_SMOOTH_MIN
82 #endif /* ALLOW_DEPTH_CONTROL */
83
84 C ********************************************************************
85 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22