/[MITgcm]/MITgcm/verification/global_with_CFC11/code1x1/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/global_with_CFC11/code1x1/CPP_OPTIONS.h

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

revision 1.1 by dimitri, Thu Aug 25 16:22:17 2005 UTC revision 1.1.2.2 by dimitri, Sat Dec 24 04:59:16 2005 UTC
# Line 0  Line 1 
1    C $Header$
2    C $Name$
3    
4    CBOP
5    C !ROUTINE: CPP_OPTIONS.h
6    C !INTERFACE:
7    C include "CPP_OPTIONS.h"
8    C !DESCRIPTION:
9    C CPP flags controlling which code in included in the files that
10    C will be compiled.
11    CEOP
12    
13    C o Include/exclude code for direct surface pressure solver
14    #undef  ALLOW_DIRECT_SOLVER
15    
16    C o Include/exclude code for AIM package
17    #undef  ALLOW_AIM
18    
19    C o Include/exclude code for GM/Redi parameterization
20    #define ALLOW_GMREDI
21    
22    C o Include/exclude code for KPP mixing scheme
23    #define  ALLOW_KPP
24    
25    C o Shortwave heating as extra term in external_forcing.F
26    #ifdef ALLOW_KPP
27    #define  SHORTWAVE_HEATING
28    #endif
29    
30    C o Include/exclude code for Shapiro filters
31    #undef  ALLOW_SHAP_FILT
32    
33    C o Include/exclude code for C-D grid method of integrating the
34    C   coriolis terms
35    #define  INCLUDE_CD_CODE
36    
37    C o Include/exclude code for open-boundary conditions
38    #undef  ALLOW_OBCS
39    
40    C o Include/exclude diagnostics package interface code
41    #define  ALLOW_TIMEAVE
42    
43    C o Include/exclude zonal FFT filter code
44    #undef  ALLOW_ZONAL_FILT
45    
46    C o Include/exclude temperature advection code
47    #define  INCLUDE_T_ADVECTION_CODE
48    #ifdef   INCLUDE_T_ADVECTION_CODE
49    #define  _ADT(a)a
50    #endif
51    #ifndef  INCLUDE_T_ADVECTION_CODE
52    #define  _ADT(a)
53    #endif
54    
55    C o Include/exclude temperature diffusion code
56    #define  INCLUDE_T_DIFFUSION_CODE
57    #ifdef   INCLUDE_T_DIFFUSION_CODE
58    #define  _LPT(a)a
59    #define  _BHT(a)a
60    #endif
61    #ifndef  INCLUDE_T_DIFFUSION_CODE
62    #define  _LPT(a)
63    #define  _BHT(a)
64    #endif
65    
66    C o Include/exclude temperature forcing code
67    #define  INCLUDE_T_FORCING_CODE
68    
69    C o Include/exclude momentum advection code
70    #define  INCLUDE_MOMENTUM_ADVECTION_CODE
71    #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
72    #define  _ADM(a)a
73    #endif
74    #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
75    #define  _ADM(a)
76    #endif
77    
78    C o Include/exclude laplacian viscosity code
79    #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
80    #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
81    #define  _LPM(a)a
82    #endif
83    #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
84    #define  _LPM(a)
85    #endif
86    
87    C o Include/exclude biharmonic viscosity code
88    #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
89    #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
90    #define  _BHM(a)a
91    #endif
92    #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
93    #define  _BHM(a)
94    #endif
95    
96    C o Include/exclude gradient of phy_hyd code
97    #define INCLUDE_GRADPH_CODE
98    #ifdef  INCLUDE_GRADPH_CODE
99    #define _PHM(a)a
100    #endif
101    #ifndef INCLUDE_GRADPH_CODE
102    #define _PHM(a)
103    #endif
104    
105    C o Include/exclude momentum forcing code
106    #define INCLUDE_MOMENTUM_FORCING_CODE
107    
108    C o Include/exclude momentum eqn metric terms code
109    #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
110    
111    C o Include/exclude phi_hyd calculation code
112    #define INCLUDE_PHIHYD_CALCULATION_CODE
113    
114    C o Include/exclude call to S/R CONVECT
115    #undef  INCLUDE_CONVECT_CALL
116    
117    C o Include/exclude call to S/R CALC_DIFFUSIVITY
118    #define INCLUDE_CALC_DIFFUSIVITY_CALL
119    
120    C o Allow nonHydrostatic code
121    #undef  ALLOW_NONHYDROSTATIC
122    
123    C o Use "natural" boundary conditions for salinity
124    C   instead of the "virtual salt flux"
125    #undef  USE_NATURAL_BCS
126    
127    C o Use "Exact Convervation" of fluid in Free-Surface formulation
128    C   so that d/dt(eta) is exactly equal to - Div.Transport
129    #define EXACT_CONSERV
130    
131    C o Allow the use of Non-Linear Free-Surface formulation
132    C   this implies that surface thickness (hFactors) vary with time
133    #undef NONLIN_FRSURF
134    
135    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
136    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
137    C          because the old code did not have no-slip BCs
138    #undef  OLD_ADV_BCS
139    
140    C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
141    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
142    C          because the old code did not have no-slip BCs
143    #undef  OLD_UV_GEOMETRY
144    
145    C o Add passive tracer advection routines
146    #define ALLOW_PASSIVE_TRACER
147    #define INCLUDE_TR_FORCING_CODE
148    
149    C o Include/exclude IERS Special Bureau for the Oceans diagnostics
150    #define ALLOW_SBO
151    
152    C o Include/exclude code for sea-ice model
153    #undef  ALLOW_SEAICE
154    
155    C o Execution environment support options
156    #include "CPP_EEOPTIONS.h"
157    
158    C o Include/exclude the external forcing package. To use this package,
159    C   you have to include the calendar tool as well. KPP can be switched
160    C   on or off. The implementation automatically takes care of this.
161    #define INCLUDE_EXTERNAL_FORCING_PACKAGE
162    #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
163    # include "ECCO_CPPOPTIONS.h"
164    #endif
165    
166    C o Include/exclude code specific to the ECCO/SEALION version.
167    #undef INCLUDE_ECCO_PACKAGE
168    #ifdef INCLUDE_ECCO_PACKAGE
169    #include "ECCO_CPPOPTIONS.h"
170    #endif

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

  ViewVC Help
Powered by ViewVC 1.1.22