/[MITgcm]/MITgcm/model/inc/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/model/inc/CPP_OPTIONS.h

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

revision 1.6 by cnh, Fri Nov 6 22:44:42 1998 UTC revision 1.14 by cnh, Sun Feb 4 14:38:44 2001 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3  C  C
4    
5  C  C
# Line 6  C CPP flags controlling which code in in Line 7  C CPP flags controlling which code in in
7  C will be compiled.  C will be compiled.
8  C  C
9    
10    C o Include/exclude code for GM/Redi parameterization
11    #undef  ALLOW_GMREDI
12    
13    C o Include/exclude code for KPP mixing scheme
14    #define  ALLOW_KPP
15    
16    C o Shortwave heating as extra term in external_forcing.F
17    #ifdef ALLOW_KPP
18    #define  SHORTWAVE_HEATING
19    #endif
20    
21  C o Include/exclude code for C-D grid method of integrating the  C o Include/exclude code for C-D grid method of integrating the
22  C   coriolis terms  C   coriolis terms
23  #define  INCLUDE_CD_CODE  #define  INCLUDE_CD_CODE
24    
25    C o Include/exclude code for open-boundary conditions
26    #undef  ALLOW_OBCS
27    
28  C o Include/exclude diagnostics package interface code  C o Include/exclude diagnostics package interface code
29  #define  INCLUDE_DIAGNOSTICS_INTERFACE_CODE  #define  INCLUDE_DIAGNOSTICS_INTERFACE_CODE
30    
# Line 19  C o Include/exclude latitude circle FFT Line 34  C o Include/exclude latitude circle FFT
34  C o Include/exclude temperature advection code  C o Include/exclude temperature advection code
35  #define  INCLUDE_T_ADVECTION_CODE  #define  INCLUDE_T_ADVECTION_CODE
36  #ifdef   INCLUDE_T_ADVECTION_CODE  #ifdef   INCLUDE_T_ADVECTION_CODE
37  #define  _ADT(a) a  #define  _ADT(a)a
38  #endif  #endif
39  #ifndef  INCLUDE_T_ADVECTION_CODE  #ifndef  INCLUDE_T_ADVECTION_CODE
40  #define  _ADT(a)  #define  _ADT(a)
# Line 28  C o Include/exclude temperature advectio Line 43  C o Include/exclude temperature advectio
43  C o Include/exclude temperature diffusion code  C o Include/exclude temperature diffusion code
44  #define  INCLUDE_T_DIFFUSION_CODE  #define  INCLUDE_T_DIFFUSION_CODE
45  #ifdef   INCLUDE_T_DIFFUSION_CODE  #ifdef   INCLUDE_T_DIFFUSION_CODE
46  #define  _LPT(a) a  #define  _LPT(a)a
47  #define  _BHT(a) a  #define  _BHT(a)a
48  #endif  #endif
49  #ifndef  INCLUDE_T_DIFFUSION_CODE  #ifndef  INCLUDE_T_DIFFUSION_CODE
50  #define  _LPT(a)  #define  _LPT(a)
# Line 42  C o Include/exclude temperature forcing Line 57  C o Include/exclude temperature forcing
57  C o Include/exclude momentum advection code  C o Include/exclude momentum advection code
58  #define  INCLUDE_MOMENTUM_ADVECTION_CODE  #define  INCLUDE_MOMENTUM_ADVECTION_CODE
59  #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE  #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
60  #define  _ADM(a) a  #define  _ADM(a)a
61  #endif  #endif
62  #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE  #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
63  #define  _ADM(a)  #define  _ADM(a)
# Line 51  C o Include/exclude momentum advection c Line 66  C o Include/exclude momentum advection c
66  C o Include/exclude laplacian viscosity code  C o Include/exclude laplacian viscosity code
67  #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE  #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
68  #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE  #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
69  #define  _LPM(a) a  #define  _LPM(a)a
70  #endif  #endif
71  #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE  #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
72  #define  _LPM(a)  #define  _LPM(a)
73  #endif  #endif
74    
75  C o Include/exclude biharmonic viscosity code  C o Include/exclude biharmonic viscosity code
76  #undef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE  #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
77  #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE  #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
78  #define  _BHM(a) a  #define  _BHM(a)a
79  #endif  #endif
80  #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE  #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
81  #define  _BHM(a)  #define  _BHM(a)
# Line 69  C o Include/exclude biharmonic viscosity Line 84  C o Include/exclude biharmonic viscosity
84  C o Include/exclude gradient of phy_hyd code  C o Include/exclude gradient of phy_hyd code
85  #define INCLUDE_GRADPH_CODE  #define INCLUDE_GRADPH_CODE
86  #ifdef  INCLUDE_GRADPH_CODE  #ifdef  INCLUDE_GRADPH_CODE
87  #define _PHM(a) a  #define _PHM(a)a
88  #endif  #endif
89  #ifndef INCLUDE_GRADPH_CODE  #ifndef INCLUDE_GRADPH_CODE
90  #define _PHM(a)  #define _PHM(a)
# Line 112  C o Include/exclude call to S/R CALC_ISO Line 127  C o Include/exclude call to S/R CALC_ISO
127  C o Include/exclude call to S/R CALC_DIFFUSIVITY  C o Include/exclude call to S/R CALC_DIFFUSIVITY
128  #define INCLUDE_CALC_DIFFUSIVITY_CALL  #define INCLUDE_CALC_DIFFUSIVITY_CALL
129    
130    C o Allow nonHydrostatic code
131    #undef  ALLOW_NONHYDROSTATIC
132    
133    C o Use "natural" boundary conditions for salinity
134    C   instead of the "virtual salt flux"
135    #undef  USE_NATURAL_BCS
136    
137    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
138    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
139    C          because the old code did not have no-slip BCs
140    #undef  OLD_ADV_BCS
141    
142    C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
143    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
144    C          because the old code did not have no-slip BCs
145    #undef  OLD_UV_GEOMETRY
146    
147  C o Execution environment support options  C o Execution environment support options
148  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"
149    
150    C o Include/exclude code specific to the ECCO/SEALION version.
151    #undef INCLUDE_ECCO_PACKAGE
152    #ifdef INCLUDE_ECCO_PACKAGE
153    #include "ECCO_CPPOPTIONS.h"
154    #endif
155    
156    
157    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22