/[MITgcm]/MITgcm/verification/hs94.cs-32x32x5/code/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/hs94.cs-32x32x5/code/CPP_OPTIONS.h

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

revision 1.1 by adcroft, Mon Apr 9 20:01:16 2001 UTC revision 1.2 by adcroft, Tue May 29 14:01:58 2001 UTC
# Line 0  Line 1 
1    C $Header$
2    C $Name$
3    
4    C
5    C CPP flags controlling which code in included in the files that
6    C will be compiled.
7    C
8    
9    C o Include/exclude code for AIM package
10    #undef  ALLOW_AIM
11    
12    C o Include/exclude code for GM/Redi parameterization
13    #undef  ALLOW_GMREDI
14    
15    C o Include/exclude code for KPP mixing scheme
16    #undef  ALLOW_KPP
17    
18    C o Shortwave heating as extra term in external_forcing.F
19    #ifdef ALLOW_KPP
20    #define  SHORTWAVE_HEATING
21    #endif
22    
23    C o Include/exclude code for Shapiro filters
24    #define ALLOW_SHAP_FILT
25    
26    C o Include/exclude code for C-D grid method of integrating the
27    C   coriolis terms
28    #undef  INCLUDE_CD_CODE
29    
30    C o Include/exclude code for open-boundary conditions
31    #undef  ALLOW_OBCS
32    
33    C o Include/exclude diagnostics package interface code
34    #define  ALLOW_TIMEAVE
35    
36    C o Include/exclude zonal FFT filter code
37    #undef  ALLOW_ZONAL_FILT
38    
39    C o Include/exclude temperature advection code
40    #define  INCLUDE_T_ADVECTION_CODE
41    #ifdef   INCLUDE_T_ADVECTION_CODE
42    #define  _ADT(a)a
43    #endif
44    #ifndef  INCLUDE_T_ADVECTION_CODE
45    #define  _ADT(a)
46    #endif
47    
48    C o Include/exclude temperature diffusion code
49    #define  INCLUDE_T_DIFFUSION_CODE
50    #ifdef   INCLUDE_T_DIFFUSION_CODE
51    #define  _LPT(a)a
52    #define  _BHT(a)a
53    #endif
54    #ifndef  INCLUDE_T_DIFFUSION_CODE
55    #define  _LPT(a)
56    #define  _BHT(a)
57    #endif
58    
59    C o Include/exclude temperature forcing code
60    #define  INCLUDE_T_FORCING_CODE
61    
62    C o Include/exclude momentum advection code
63    #define  INCLUDE_MOMENTUM_ADVECTION_CODE
64    #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
65    #define  _ADM(a)a
66    #endif
67    #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
68    #define  _ADM(a)
69    #endif
70    
71    C o Include/exclude laplacian viscosity code
72    #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
73    #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
74    #define  _LPM(a)a
75    #endif
76    #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
77    #define  _LPM(a)
78    #endif
79    
80    C o Include/exclude biharmonic viscosity code
81    #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
82    #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
83    #define  _BHM(a)a
84    #endif
85    #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
86    #define  _BHM(a)
87    #endif
88    
89    C o Include/exclude gradient of phy_hyd code
90    #define INCLUDE_GRADPH_CODE
91    #ifdef  INCLUDE_GRADPH_CODE
92    #define _PHM(a)a
93    #endif
94    #ifndef INCLUDE_GRADPH_CODE
95    #define _PHM(a)
96    #endif
97    
98    C o Include/exclude momentum forcing code
99    #define INCLUDE_MOMENTUM_FORCING_CODE
100    
101    C o Include/exclude momentum eqn metric terms code
102    #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
103    
104    C o Include/exclude phi_hyd calculation code
105    #define INCLUDE_PHIHYD_CALCULATION_CODE
106    
107    C o Include/exclude call to S/R CONVECT
108    #define INCLUDE_CONVECT_CALL
109    
110    C o Include/exclude call to S/R CALC_DIFFUSIVITY
111    #define INCLUDE_CALC_DIFFUSIVITY_CALL
112    
113    C o Allow nonHydrostatic code
114    #undef  ALLOW_NONHYDROSTATIC
115    
116    C o Use "natural" boundary conditions for salinity
117    C   instead of the "virtual salt flux"
118    #undef  USE_NATURAL_BCS
119    
120    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
121    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
122    C          because the old code did not have no-slip BCs
123    #undef  OLD_ADV_BCS
124    
125    C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
126    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
127    C          because the old code did not have no-slip BCs
128    #undef  OLD_UV_GEOMETRY
129    
130    C o Execution environment support options
131    #include "CPP_EEOPTIONS.h"
132    
133    C o Include/exclude code specific to the ECCO/SEALION version.
134    #undef INCLUDE_ECCO_PACKAGE
135    #ifdef INCLUDE_ECCO_PACKAGE
136    #include "ECCO_CPPOPTIONS.h"
137    #endif
138    

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

  ViewVC Help
Powered by ViewVC 1.1.22