/[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.3 by adcroft, Tue Jun 9 15:58:35 1998 UTC revision 1.11 by adcroft, Wed Jul 28 16:21:38 1999 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C  C
3    
4  #undef ALLOW_CD  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 KPP mixing scheme
10    #undef  ALLOW_KPP
11    
12    C o Include/exclude code for C-D grid method of integrating the
13    C   coriolis terms
14    #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
20    #define  INCLUDE_DIAGNOSTICS_INTERFACE_CODE
21    
22    C o Include/exclude latitude circle FFT filter
23    #undef  INCLUDE_LAT_CIRC_FFT_FILTER_CODE
24    
25    C o Include/exclude temperature advection code
26    #define  INCLUDE_T_ADVECTION_CODE
27    #ifdef   INCLUDE_T_ADVECTION_CODE
28    #define  _ADT(a)a
29    #endif
30    #ifndef  INCLUDE_T_ADVECTION_CODE
31    #define  _ADT(a)
32    #endif
33    
34    C o Include/exclude temperature diffusion code
35    #define  INCLUDE_T_DIFFUSION_CODE
36    #ifdef   INCLUDE_T_DIFFUSION_CODE
37    #define  _LPT(a)a
38    #define  _BHT(a)a
39    #endif
40    #ifndef  INCLUDE_T_DIFFUSION_CODE
41    #define  _LPT(a)
42    #define  _BHT(a)
43    #endif
44    
45    C o Include/exclude temperature forcing code
46    #define  INCLUDE_T_FORCING_CODE
47    
48    C o Include/exclude momentum advection code
49    #define  INCLUDE_MOMENTUM_ADVECTION_CODE
50    #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
51    #define  _ADM(a)a
52    #endif
53    #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
54    #define  _ADM(a)
55    #endif
56    
57    C o Include/exclude laplacian viscosity code
58    #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
59    #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
60    #define  _LPM(a)a
61    #endif
62    #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
63    #define  _LPM(a)
64    #endif
65    
66    C o Include/exclude biharmonic viscosity code
67    #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
68    #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
69    #define  _BHM(a)a
70    #endif
71    #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
72    #define  _BHM(a)
73    #endif
74    
75    C o Include/exclude gradient of phy_hyd code
76    #define INCLUDE_GRADPH_CODE
77    #ifdef  INCLUDE_GRADPH_CODE
78    #define _PHM(a)a
79    #endif
80    #ifndef INCLUDE_GRADPH_CODE
81    #define _PHM(a)
82    #endif
83    
84    C o Include/exclude momentum forcing code
85    #define INCLUDE_MOMENTUM_FORCING_CODE
86    
87    C o Include/exclude momentum eqn metric terms code
88    #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
89    
90    C o Include/exclude phi_hyd calculation code
91    #define INCLUDE_PHIHYD_CALCULATION_CODE
92    
93    C o Include/exclude prognostic variable shapiro filter code
94    C   Note - Shapiro filter of prognostics variables requires the
95    C          three steps "step forward including edges", filter,
96    C          "communicate edges".
97    C           If the filtering code is included then we do not use the
98    C          pipelined "step forward including edges" in S/R DYNAMICS.
99    C          Instead the three steps are performed before DYNAMICS one
100    C          after another in an un-pipelined fashion.
101    #undef  INCLUDE_SHAPIRO_FILTER_CODE
102    #ifdef  INCLUDE_SHAPIRO_FILTER_CODE
103    #undef  DO_PIPELINED_CORRECTION_STEP
104    #endif
105    #ifndef INCLUDE_SHAPIRO_FILTER_CODE
106    #define DO_PIPELINED_CORRECTION_STEP
107    #endif
108    
109    C o Include/exclude call to S/R FIND_RHO
110    #define INCLUDE_FIND_RHO_CALL
111    
112    C o Include/exclude call to S/R CONVECT
113    #define INCLUDE_CONVECT_CALL
114    
115    C o Include/exclude call to S/R CALC_ISOSLOPES
116    #define INCLUDE_CALC_ISOSLOPES_CALL
117    
118    C o Include/exclude call to S/R CALC_DIFFUSIVITY
119    #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
139  #include "CPP_EEOPTIONS.h"  #include "CPP_EEOPTIONS.h"

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

  ViewVC Help
Powered by ViewVC 1.1.22