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

Annotation 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.4 - (hide annotations) (download)
Thu Oct 16 20:09:24 2014 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65g
Changes since 1.3: +4 -1 lines
File MIME type: text/plain
- define ECCO_CTRL_DEPRECATED

1 gforget 1.4 C $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/ECCO_CPPOPTIONS.h,v 1.3 2012/08/09 18:15:57 jmc Exp $
2 jmc 1.2 C $Name: $
3    
4 jmc 1.3 #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 heimbach 1.1 C ********************************************************************
16     C *** ECCO Package ***
17     C ********************************************************************
18 jmc 1.3
19 gforget 1.4 C allow use of legacy ecco/ctrl codes
20     #define ECCO_CTRL_DEPRECATED
21    
22 heimbach 1.1 #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 jmc 1.3
37 heimbach 1.1 #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 jmc 1.3
43 heimbach 1.1 C Include/exclude atmosphere-specific code
44     #undef ALLOW_AUTODIFF_ATMOSPHERE
45    
46     C ********************************************************************
47 jmc 1.3 C *** Calendar Package ***
48 heimbach 1.1 C ********************************************************************
49 jmc 1.3
50 heimbach 1.1 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 jmc 1.3
57 heimbach 1.1 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 jmc 1.3
67 heimbach 1.1 #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 jmc 1.2 #define ALLOW_DEPTH_CONTROL
82 heimbach 1.1 #ifdef ALLOW_DEPTH_CONTROL
83     # define ALLOW_CG2D_NSA
84     # define USE_SMOOTH_MIN
85     #endif /* ALLOW_DEPTH_CONTROL */
86    
87 jmc 1.3 C ********************************************************************
88     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22