/[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.11 - (hide annotations) (download)
Wed Jul 28 16:21:38 1999 UTC (24 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint28, checkpoint24, checkpoint25, checkpoint27, checkpoint26
Changes since 1.10: +10 -4 lines
File MIME type: text/plain
Added #undef ALLOW_KPP

1 adcroft 1.11 C $Header: /u/gcmpack/models/MITgcmUV/verification/exp2/code/CPP_OPTIONS.h,v 1.5 1999/05/24 15:42:23 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    
9 adcroft 1.11 C o Include/exclude code for KPP mixing scheme
10     #undef ALLOW_KPP
11    
12 cnh 1.6 C o Include/exclude code for C-D grid method of integrating the
13     C coriolis terms
14 adcroft 1.11 #undef INCLUDE_CD_CODE
15 adcroft 1.10
16     C o Include/exclude code for open-boundary conditions
17 adcroft 1.11 #undef ALLOW_OBCS
18 cnh 1.6
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 adcroft 1.9 #define _ADT(a)a
29 cnh 1.6 #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 adcroft 1.9 #define _LPT(a)a
38     #define _BHT(a)a
39 cnh 1.6 #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 adcroft 1.9 #define _ADM(a)a
52 cnh 1.6 #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 adcroft 1.9 #define _LPM(a)a
61 cnh 1.6 #endif
62     #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
63     #define _LPM(a)
64     #endif
65    
66     C o Include/exclude biharmonic viscosity code
67 adcroft 1.7 #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
68 cnh 1.6 #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
69 adcroft 1.9 #define _BHM(a)a
70 cnh 1.6 #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 adcroft 1.9 #define _PHM(a)a
79 cnh 1.6 #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 adcroft 1.5
118 cnh 1.6 C o Include/exclude call to S/R CALC_DIFFUSIVITY
119     #define INCLUDE_CALC_DIFFUSIVITY_CALL
120 adcroft 1.8
121 adcroft 1.11 C o Allow nonHydrostatic code
122     #undef ALLOW_NONHYDROSTATIC
123    
124 adcroft 1.8 C o Use "natural" boundary conditions for salinity
125     C instead of the "virtual salt flux"
126 adcroft 1.11 #undef USE_NATURAL_BCS
127 adcroft 1.7
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 adcroft 1.3
138 cnh 1.6 C o Execution environment support options
139 adcroft 1.3 #include "CPP_EEOPTIONS.h"

  ViewVC Help
Powered by ViewVC 1.1.22