/[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.5 - (show annotations) (download)
Wed Nov 15 23:15:45 2017 UTC (2 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66o, checkpoint66n, checkpoint66m, HEAD
Changes since 1.4: +1 -2 lines
File MIME type: text/plain
ALLOW_CG2D_NSA is now defined in CPP_OPTIONS.h

1 C $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/ECCO_CPPOPTIONS.h,v 1.4 2014/10/16 20:09:24 gforget 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 C allow use of legacy ecco/ctrl codes
20 #define ECCO_CTRL_DEPRECATED
21
22 #undef ALLOW_ECCO_FORWARD_RUN
23 #undef ALLOW_ECCO_DIAGNOSTICS_RUN
24 #undef ALLOW_ECCO_OPTIMIZATION
25
26 C >>> Do a long protocol.
27 #undef ECCO_VERBOSE
28
29 C ********************************************************************
30 C *** Adjoint Support Package ***
31 C ********************************************************************
32
33 C o Include/exclude code in order to be able to automatically
34 C differentiate the MITgcmUV by using the Tangent Linear and
35 C Adjoint Model Compiler (TAMC).
36
37 #define ALLOW_AUTODIFF_TAMC
38 C >>> Checkpointing as handled by TAMC
39 #define ALLOW_TAMC_CHECKPOINTING
40 C Include/exclude adjoint monitor routine
41 #undef ALLOW_AUTODIFF_MONITOR
42
43 C Include/exclude atmosphere-specific code
44 #undef ALLOW_AUTODIFF_ATMOSPHERE
45
46 C ********************************************************************
47 C *** Calendar Package ***
48 C ********************************************************************
49
50 C CPP flags controlling which code is included in the files that
51 C will be compiled.
52
53 C ********************************************************************
54 C *** Cost function Package ***
55 C ********************************************************************
56
57 C >>> Cost function contributions
58 #define ALLOW_COST_TEST
59 Cml#define ALLOW_COST_TRACER
60 #undef ALLOW_COST_TRACER
61 #define ALLOW_COST_DEPTH
62
63 C ********************************************************************
64 C *** Control vector Package ***
65 C ********************************************************************
66
67 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
68 C >>> Initial values.
69 Cml#define ALLOW_THETA0_CONTROL
70 Cml#define ALLOW_SALT0_CONTROL
71 Cml#define ALLOW_TR10_CONTROL
72 Cml#define ALLOW_TAUU0_CONTROL
73 Cml#define ALLOW_TAUV0_CONTROL
74 Cml#define ALLOW_SFLUX0_CONTROL
75 Cml#define ALLOW_HFLUX0_CONTROL
76 #undef ALLOW_SSS0_CONTROL
77 #undef ALLOW_SST0_CONTROL
78 Cml#define ALLOW_DIFFKR_CONTROL
79 #undef ALLOW_KAPGM_CONTROL
80 C o only topography as a control vector
81 #define ALLOW_DEPTH_CONTROL
82 #ifdef ALLOW_DEPTH_CONTROL
83 # define USE_SMOOTH_MIN
84 #endif /* ALLOW_DEPTH_CONTROL */
85
86 C ********************************************************************
87 #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22