/[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.11 by adcroft, Wed Jul 28 16:21:38 1999 UTC
# Line 6  C CPP flags controlling which code in in Line 6  C CPP flags controlling which code in in
6  C will be compiled.  C will be compiled.
7  C  C
8    
9    C o Include/exclude code for KPP mixing scheme
10    #undef  ALLOW_KPP
11    
12  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
13  C   coriolis terms  C   coriolis terms
14  #define  INCLUDE_CD_CODE  #undef  INCLUDE_CD_CODE
15    
16    C o Include/exclude code for open-boundary conditions
17    #undef  ALLOW_OBCS
18    
19  C o Include/exclude diagnostics package interface code  C o Include/exclude diagnostics package interface code
20  #define  INCLUDE_DIAGNOSTICS_INTERFACE_CODE  #define  INCLUDE_DIAGNOSTICS_INTERFACE_CODE
# Line 19  C o Include/exclude latitude circle FFT Line 25  C o Include/exclude latitude circle FFT
25  C o Include/exclude temperature advection code  C o Include/exclude temperature advection code
26  #define  INCLUDE_T_ADVECTION_CODE  #define  INCLUDE_T_ADVECTION_CODE
27  #ifdef   INCLUDE_T_ADVECTION_CODE  #ifdef   INCLUDE_T_ADVECTION_CODE
28  #define  _ADT(a) a  #define  _ADT(a)a
29  #endif  #endif
30  #ifndef  INCLUDE_T_ADVECTION_CODE  #ifndef  INCLUDE_T_ADVECTION_CODE
31  #define  _ADT(a)  #define  _ADT(a)
# Line 28  C o Include/exclude temperature advectio Line 34  C o Include/exclude temperature advectio
34  C o Include/exclude temperature diffusion code  C o Include/exclude temperature diffusion code
35  #define  INCLUDE_T_DIFFUSION_CODE  #define  INCLUDE_T_DIFFUSION_CODE
36  #ifdef   INCLUDE_T_DIFFUSION_CODE  #ifdef   INCLUDE_T_DIFFUSION_CODE
37  #define  _LPT(a) a  #define  _LPT(a)a
38  #define  _BHT(a) a  #define  _BHT(a)a
39  #endif  #endif
40  #ifndef  INCLUDE_T_DIFFUSION_CODE  #ifndef  INCLUDE_T_DIFFUSION_CODE
41  #define  _LPT(a)  #define  _LPT(a)
# Line 42  C o Include/exclude temperature forcing Line 48  C o Include/exclude temperature forcing
48  C o Include/exclude momentum advection code  C o Include/exclude momentum advection code
49  #define  INCLUDE_MOMENTUM_ADVECTION_CODE  #define  INCLUDE_MOMENTUM_ADVECTION_CODE
50  #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE  #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
51  #define  _ADM(a) a  #define  _ADM(a)a
52  #endif  #endif
53  #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE  #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
54  #define  _ADM(a)  #define  _ADM(a)
# Line 51  C o Include/exclude momentum advection c Line 57  C o Include/exclude momentum advection c
57  C o Include/exclude laplacian viscosity code  C o Include/exclude laplacian viscosity code
58  #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE  #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
59  #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE  #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
60  #define  _LPM(a) a  #define  _LPM(a)a
61  #endif  #endif
62  #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE  #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
63  #define  _LPM(a)  #define  _LPM(a)
64  #endif  #endif
65    
66  C o Include/exclude biharmonic viscosity code  C o Include/exclude biharmonic viscosity code
67  #undef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE  #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
68  #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE  #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
69  #define  _BHM(a) a  #define  _BHM(a)a
70  #endif  #endif
71  #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE  #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
72  #define  _BHM(a)  #define  _BHM(a)
# Line 69  C o Include/exclude biharmonic viscosity Line 75  C o Include/exclude biharmonic viscosity
75  C o Include/exclude gradient of phy_hyd code  C o Include/exclude gradient of phy_hyd code
76  #define INCLUDE_GRADPH_CODE  #define INCLUDE_GRADPH_CODE
77  #ifdef  INCLUDE_GRADPH_CODE  #ifdef  INCLUDE_GRADPH_CODE
78  #define _PHM(a) a  #define _PHM(a)a
79  #endif  #endif
80  #ifndef INCLUDE_GRADPH_CODE  #ifndef INCLUDE_GRADPH_CODE
81  #define _PHM(a)  #define _PHM(a)
# Line 112  C o Include/exclude call to S/R CALC_ISO Line 118  C o Include/exclude call to S/R CALC_ISO
118  C o Include/exclude call to S/R CALC_DIFFUSIVITY  C o Include/exclude call to S/R CALC_DIFFUSIVITY
119  #define INCLUDE_CALC_DIFFUSIVITY_CALL  #define INCLUDE_CALC_DIFFUSIVITY_CALL
120    
121    C o Allow nonHydrostatic code
122    #undef  ALLOW_NONHYDROSTATIC
123    
124    C o Use "natural" boundary conditions for salinity
125    C   instead of the "virtual salt flux"
126    #undef  USE_NATURAL_BCS
127    
128    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
129    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
130    C          because the old code did not have no-slip BCs
131    #undef  OLD_ADV_BCS
132    
133    C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
134    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
135    C          because the old code did not have no-slip BCs
136    #undef  OLD_UV_GEOMETRY
137    
138  C o Execution environment support options  C o Execution environment support options
139  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"

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

  ViewVC Help
Powered by ViewVC 1.1.22