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

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22