/[MITgcm]/MITgcm/verification/natl_box_adjoint/code_seaice/CPP_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/natl_box_adjoint/code_seaice/CPP_OPTIONS.h

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.22