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

Diff of /MITgcm/verification/lab_sea/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, Mon Nov 11 22:03:47 2002 UTC revision 1.2 by heimbach, Tue Nov 12 20:54:28 2002 UTC
# Line 0  Line 1 
1    C $Header$
2    C $Name$
3    C
4    
5    CBOP
6    C !ROUTINE: CPP_OPTIONS.h
7    C !INTERFACE:
8    C include "CPP_OPTIONS.h"
9    C !DESCRIPTION:
10    C CPP flags controlling which code in included in the files that
11    C will be compiled.
12    CEOP
13    
14    C o Include/exclude code for AIM package
15    #undef  ALLOW_AIM
16    
17    C o Include/exclude code for sea-ice model
18    #define  ALLOW_SEAICE
19    
20    C o Include/exclude code for GM/Redi parameterization
21    #define  ALLOW_GMREDI
22    
23    C o Include/exclude code for KPP mixing scheme
24    #define  ALLOW_KPP
25    
26    C o Shortwave heating as extra term in external_forcing.F
27    #ifdef ALLOW_KPP
28    #define  SHORTWAVE_HEATING
29    #endif
30    
31    C o Include/exclude code for Shapiro filters
32    #define ALLOW_SHAP_FILT
33    
34    C o Include/exclude code for C-D grid method of integrating the
35    C   coriolis terms
36    #define  INCLUDE_CD_CODE
37    
38    C o Include/exclude code for open-boundary conditions
39    #undef  ALLOW_OBCS
40    
41    C o Include/exclude diagnostics package interface code
42    #define  ALLOW_TIMEAVE
43    
44    C o Include/exclude zonal FFT filter code
45    #undef  ALLOW_ZONAL_FILT
46    
47    C o Include/exclude temperature advection code
48    #define  INCLUDE_T_ADVECTION_CODE
49    #ifdef   INCLUDE_T_ADVECTION_CODE
50    #define  _ADT(a)a
51    #endif
52    #ifndef  INCLUDE_T_ADVECTION_CODE
53    #define  _ADT(a)
54    #endif
55    
56    C o Include/exclude temperature diffusion code
57    #define  INCLUDE_T_DIFFUSION_CODE
58    #ifdef   INCLUDE_T_DIFFUSION_CODE
59    #define  _LPT(a)a
60    #define  _BHT(a)a
61    #endif
62    #ifndef  INCLUDE_T_DIFFUSION_CODE
63    #define  _LPT(a)
64    #define  _BHT(a)
65    #endif
66    
67    C o Include/exclude temperature forcing code
68    #define  INCLUDE_T_FORCING_CODE
69    
70    C o Include/exclude momentum advection code
71    #define  INCLUDE_MOMENTUM_ADVECTION_CODE
72    #ifdef   INCLUDE_MOMENTUM_ADVECTION_CODE
73    #define  _ADM(a)a
74    #endif
75    #ifndef  INCLUDE_MOMENTUM_ADVECTION_CODE
76    #define  _ADM(a)
77    #endif
78    
79    C o Include/exclude laplacian viscosity code
80    #define  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
81    #ifdef   INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
82    #define  _LPM(a)a
83    #endif
84    #ifndef  INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
85    #define  _LPM(a)
86    #endif
87    
88    C o Include/exclude biharmonic viscosity code
89    #define  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
90    #ifdef   INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
91    #define  _BHM(a)a
92    #endif
93    #ifndef  INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
94    #define  _BHM(a)
95    #endif
96    
97    C o Include/exclude gradient of phy_hyd code
98    #define INCLUDE_GRADPH_CODE
99    #ifdef  INCLUDE_GRADPH_CODE
100    #define _PHM(a)a
101    #endif
102    #ifndef INCLUDE_GRADPH_CODE
103    #define _PHM(a)
104    #endif
105    
106    C o Include/exclude momentum forcing code
107    #define INCLUDE_MOMENTUM_FORCING_CODE
108    
109    C o Include/exclude momentum eqn metric terms code
110    #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
111    
112    C o Include/exclude phi_hyd calculation code
113    #define INCLUDE_PHIHYD_CALCULATION_CODE
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_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 "Exact Convervation" of fluid in Free-Surface formulation
129    C   so that d/dt(eta) is exactly equal to - Div.Transport
130    #define EXACT_CONSERV
131    
132    C o Allow the use of Non-Linear Free-Surface formulation
133    C   this implies that surface thickness (hFactors) vary with time
134    #undef NONLIN_FRSURF
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    #undef INCLUDE_ECCO_PACKAGE
151    #ifdef INCLUDE_ECCO_PACKAGE
152    #include "ECCO_CPPOPTIONS.h"
153    #endif
154    

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

  ViewVC Help
Powered by ViewVC 1.1.22