/[MITgcm]/MITgcm/verification/global2x2_tot/code/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/global2x2_tot/code/CPP_OPTIONS.h

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

revision 1.1 by heimbach, Thu Apr 4 12:05:47 2002 UTC revision 1.1.2.1 by heimbach, Thu Apr 4 12:05:47 2002 UTC
# Line 0  Line 1 
1    C $Header$
2    C
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 GM/Redi parameterization
10    #define  ALLOW_GMREDI
11    
12    C o Include/exclude code for KPP mixing scheme
13    #define  ALLOW_KPP
14    
15    C o Shortwave heating as extra term in external_forcing.F
16    #ifdef ALLOW_KPP
17    #define  SHORTWAVE_HEATING
18    #endif
19    
20    C o Include/exclude code for C-D grid method of integrating the
21    C   coriolis terms
22    #define  INCLUDE_CD_CODE
23    
24    C o Include/exclude code for open-boundary conditions
25    #undef  ALLOW_OBCS
26    
27    C o Include/exclude diagnostics package interface code
28    #undef  INCLUDE_DIAGNOSTICS_INTERFACE_CODE
29    
30    C o Include/exclude latitude circle FFT filter
31    #undef  INCLUDE_LAT_CIRC_FFT_FILTER_CODE
32    
33    C o Include/exclude temperature advection code
34    #define  INCLUDE_T_ADVECTION_CODE
35    #ifdef   INCLUDE_T_ADVECTION_CODE
36    #define  _ADT(a)a
37    #endif
38    #ifndef  INCLUDE_T_ADVECTION_CODE
39    #define  _ADT(a)
40    #endif
41    
42    C o Include/exclude temperature diffusion code
43    #define  INCLUDE_T_DIFFUSION_CODE
44    #ifdef   INCLUDE_T_DIFFUSION_CODE
45    #define  _LPT(a)a
46    #define  _BHT(a)a
47    #endif
48    #ifndef  INCLUDE_T_DIFFUSION_CODE
49    #define  _LPT(a)
50    #define  _BHT(a)
51    #endif
52    
53    C o Include/exclude temperature forcing code
54    #define  INCLUDE_T_FORCING_CODE
55    
56    C o Include/exclude momentum advection code
57    #define  INCLUDE_MOMENTUM_ADVECTION_CODE
58    #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
59    #define  _ADM(a)a
60    #endif
61    #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
62    #define  _ADM(a)
63    #endif
64    
65    C o Include/exclude laplacian viscosity code
66    #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
67    #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
68    #define  _LPM(a)a
69    #endif
70    #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
71    #define  _LPM(a)
72    #endif
73    
74    C o Include/exclude biharmonic viscosity code
75    #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
76    #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
77    #define  _BHM(a)a
78    #endif
79    #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
80    #define  _BHM(a)
81    #endif
82    
83    C o Include/exclude gradient of phy_hyd code
84    #define INCLUDE_GRADPH_CODE
85    #ifdef  INCLUDE_GRADPH_CODE
86    #define _PHM(a)a
87    #endif
88    #ifndef INCLUDE_GRADPH_CODE
89    #define _PHM(a)
90    #endif
91    
92    C o Include/exclude momentum forcing code
93    #define INCLUDE_MOMENTUM_FORCING_CODE
94    
95    C o Include/exclude momentum eqn metric terms code
96    #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
97    
98    C o Include/exclude phi_hyd calculation code
99    #define INCLUDE_PHIHYD_CALCULATION_CODE
100    
101    C o Include/exclude prognostic variable shapiro filter code
102    C   Note - Shapiro filter of prognostics variables requires the
103    C          three steps "step forward including edges", filter,
104    C          "communicate edges".
105    C           If the filtering code is included then we do not use the
106    C          pipelined "step forward including edges" in S/R DYNAMICS.
107    C          Instead the three steps are performed before DYNAMICS one
108    C          after another in an un-pipelined fashion.
109    #undef  INCLUDE_SHAPIRO_FILTER_CODE
110    #ifdef  INCLUDE_SHAPIRO_FILTER_CODE
111    #undef  DO_PIPELINED_CORRECTION_STEP
112    #endif
113    #ifndef INCLUDE_SHAPIRO_FILTER_CODE
114    #define DO_PIPELINED_CORRECTION_STEP
115    #endif
116    
117    C o Include/exclude call to S/R FIND_RHO
118    #define INCLUDE_FIND_RHO_CALL
119    
120    C o Include/exclude call to S/R CONVECT
121    #define INCLUDE_CONVECT_CALL
122    
123    C o Include/exclude call to S/R CALC_ISOSLOPES
124    #define INCLUDE_CALC_ISOSLOPES_CALL
125    
126    C o Include/exclude call to S/R CALC_DIFFUSIVITY
127    #define INCLUDE_CALC_DIFFUSIVITY_CALL
128    
129    C o Allow nonHydrostatic code
130    #undef  ALLOW_NONHYDROSTATIC
131    
132    C o Use "natural" boundary conditions for salinity
133    C   instead of the "virtual salt flux"
134    #undef  USE_NATURAL_BCS
135    
136    C o Use "OLD" UV discretisation near boundaries (*not* recommended)
137    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
138    C          because the old code did not have no-slip BCs
139    #undef  OLD_ADV_BCS
140    
141    C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
142    C   Note - only works with  #undef NO_SLIP_LATERAL  in calc_mom_rhs.F
143    C          because the old code did not have no-slip BCs
144    #undef  OLD_UV_GEOMETRY
145    
146    C o Execution environment support options
147    #include "CPP_EEOPTIONS.h"
148    
149    C o Include/exclude code specific to the ECCO/SEALION version.
150    #define INCLUDE_ECCO_PACKAGE
151    #ifdef INCLUDE_ECCO_PACKAGE
152    #include "ECCO_CPPOPTIONS.h"
153    #endif
154    
155    
156    

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

  ViewVC Help
Powered by ViewVC 1.1.22