/[MITgcm]/MITgcm/model/inc/CPP_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/model/inc/CPP_OPTIONS.h

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


Revision 1.12 - (hide annotations) (download)
Wed Jun 21 19:22:24 2000 UTC (23 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint29, checkpoint31, checkpoint30
Changes since 1.11: +4 -1 lines
File MIME type: text/plain
Introduced CPP flag ALLOW_GMREDI

1 adcroft 1.12 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/CPP_OPTIONS.h,v 1.11 1999/07/28 16:21:38 adcroft Exp $
2 cnh 1.1 C
3 adcroft 1.3
4 cnh 1.6 C
5     C CPP flags controlling which code in included in the files that
6     C will be compiled.
7     C
8 adcroft 1.12
9     C o Include/exclude code for GM/Redi parameterization
10     #undef ALLOW_GMREDI
11 cnh 1.6
12 adcroft 1.11 C o Include/exclude code for KPP mixing scheme
13     #undef ALLOW_KPP
14    
15 cnh 1.6 C o Include/exclude code for C-D grid method of integrating the
16     C coriolis terms
17 adcroft 1.11 #undef INCLUDE_CD_CODE
18 adcroft 1.10
19     C o Include/exclude code for open-boundary conditions
20 adcroft 1.11 #undef ALLOW_OBCS
21 cnh 1.6
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 adcroft 1.9 #define _ADT(a)a
32 cnh 1.6 #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 adcroft 1.9 #define _LPT(a)a
41     #define _BHT(a)a
42 cnh 1.6 #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 adcroft 1.9 #define _ADM(a)a
55 cnh 1.6 #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 adcroft 1.9 #define _LPM(a)a
64 cnh 1.6 #endif
65     #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
66     #define _LPM(a)
67     #endif
68    
69     C o Include/exclude biharmonic viscosity code
70 adcroft 1.7 #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
71 cnh 1.6 #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
72 adcroft 1.9 #define _BHM(a)a
73 cnh 1.6 #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 adcroft 1.9 #define _PHM(a)a
82 cnh 1.6 #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 adcroft 1.5
121 cnh 1.6 C o Include/exclude call to S/R CALC_DIFFUSIVITY
122     #define INCLUDE_CALC_DIFFUSIVITY_CALL
123 adcroft 1.8
124 adcroft 1.11 C o Allow nonHydrostatic code
125     #undef ALLOW_NONHYDROSTATIC
126    
127 adcroft 1.8 C o Use "natural" boundary conditions for salinity
128     C instead of the "virtual salt flux"
129 adcroft 1.11 #undef USE_NATURAL_BCS
130 adcroft 1.7
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 o Use "OLD" UV geometry on sphere (definately *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_UV_GEOMETRY
140 adcroft 1.3
141 cnh 1.6 C o Execution environment support options
142 adcroft 1.3 #include "CPP_EEOPTIONS.h"

  ViewVC Help
Powered by ViewVC 1.1.22