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

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

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

revision 1.1 by heimbach, Wed Jun 7 02:00:01 2006 UTC revision 1.4 by gforget, Thu Oct 16 20:09:24 2014 UTC
# Line 1  Line 1 
1  C  C $Header$
2  C CPP flags controlling which code is included in the files that  C $Name$
3  C will be compiled.  
4  C  #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 ********************************************************************  C ********************************************************************
16  C ***                         ECCO Package                         ***  C ***                         ECCO Package                         ***
17  C ********************************************************************  C ********************************************************************
18  C  
19    C allow use of legacy ecco/ctrl codes
20    #define ECCO_CTRL_DEPRECATED
21    
22  #undef  ALLOW_ECCO_FORWARD_RUN  #undef  ALLOW_ECCO_FORWARD_RUN
23  #undef  ALLOW_ECCO_DIAGNOSTICS_RUN  #undef  ALLOW_ECCO_DIAGNOSTICS_RUN
24  #undef  ALLOW_ECCO_OPTIMIZATION  #undef  ALLOW_ECCO_OPTIMIZATION
# Line 20  C ************************************** Line 33  C **************************************
33  C o Include/exclude code in order to be able to automatically  C o Include/exclude code in order to be able to automatically
34  C   differentiate the MITgcmUV by using the Tangent Linear and  C   differentiate the MITgcmUV by using the Tangent Linear and
35  C   Adjoint Model Compiler (TAMC).  C   Adjoint Model Compiler (TAMC).
36  cph#define INCLUDE_AUTODIFF_PACKAGE  
 C  
37  #define ALLOW_AUTODIFF_TAMC  #define ALLOW_AUTODIFF_TAMC
38  C       >>> Checkpointing as handled by TAMC  C       >>> Checkpointing as handled by TAMC
39  #define ALLOW_TAMC_CHECKPOINTING  #define ALLOW_TAMC_CHECKPOINTING
40  C       Include/exclude adjoint monitor routine  C       Include/exclude adjoint monitor routine
41  #undef ALLOW_AUTODIFF_MONITOR  #undef ALLOW_AUTODIFF_MONITOR
42  C#define ALLOW_AUTODIFF_MONITOR  
43  C       Include/exclude atmosphere-specific code  C       Include/exclude atmosphere-specific code
44  #undef ALLOW_AUTODIFF_ATMOSPHERE  #undef ALLOW_AUTODIFF_ATMOSPHERE
45    
46  C ********************************************************************  C ********************************************************************
47  C ***                     Calender Package                         ***  C ***                     Calendar Package                         ***
48  C ********************************************************************  C ********************************************************************
49  C  
50  C CPP flags controlling which code is included in the files that  C CPP flags controlling which code is included in the files that
51  C will be compiled.  C will be compiled.
 C  
 C o Include the calendar tool.  
 #undef ALLOW_CALENDAR  
 #undef ALLOW_CAL_NENDITER  
52    
53  C ********************************************************************  C ********************************************************************
54  C ***                Cost function Package                         ***  C ***                Cost function Package                         ***
55  C ********************************************************************  C ********************************************************************
56  C  
57  C       >>> Cost function contributions  C       >>> Cost function contributions
 #define ALLOW_COST  
58  #define ALLOW_COST_TEST  #define ALLOW_COST_TEST
59  Cml#define ALLOW_COST_TRACER  Cml#define ALLOW_COST_TRACER
60  #undef ALLOW_COST_TRACER  #undef ALLOW_COST_TRACER
# Line 56  Cml#define ALLOW_COST_TRACER Line 63  Cml#define ALLOW_COST_TRACER
63  C ********************************************************************  C ********************************************************************
64  C ***               Control vector Package                         ***  C ***               Control vector Package                         ***
65  C ********************************************************************  C ********************************************************************
66  C  
67  #undef  ALLOW_NONDIMENSIONAL_CONTROL_IO  #undef  ALLOW_NONDIMENSIONAL_CONTROL_IO
68  C       >>> Initial values.  C       >>> Initial values.
69  Cml#define ALLOW_THETA0_CONTROL  Cml#define ALLOW_THETA0_CONTROL
# Line 71  Cml#define ALLOW_HFLUX0_CONTROL Line 78  Cml#define ALLOW_HFLUX0_CONTROL
78  Cml#define ALLOW_DIFFKR_CONTROL  Cml#define ALLOW_DIFFKR_CONTROL
79  #undef ALLOW_KAPGM_CONTROL  #undef ALLOW_KAPGM_CONTROL
80  C o only topography as a control vector  C o only topography as a control vector
81  #define ALLOW_DEPTH_CONTROL  #define ALLOW_DEPTH_CONTROL
82  #ifdef ALLOW_DEPTH_CONTROL  #ifdef ALLOW_DEPTH_CONTROL
83  # define ALLOW_CG2D_NSA  # define ALLOW_CG2D_NSA
84  # define USE_SMOOTH_MIN  # define USE_SMOOTH_MIN
85  #endif /* ALLOW_DEPTH_CONTROL */  #endif /* ALLOW_DEPTH_CONTROL */
86    
87    C ********************************************************************
88    #endif /* ECCO_CPPOPTIONS_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22