1 |
C $Header: /u/gcmpack/models/MITgcmUV/verification/hs94.128x64x5/code/CPP_OPTIONS.h,v 1.2 2001/02/02 21:36:33 adcroft Exp $ |
2 |
C $Name: $ |
3 |
C |
4 |
|
5 |
C |
6 |
C CPP flags controlling which code in included in the files that |
7 |
C will be compiled. |
8 |
C |
9 |
|
10 |
C o Include/exclude code for GM/Redi parameterization |
11 |
#undef ALLOW_GMREDI |
12 |
|
13 |
C o Include/exclude code for KPP mixing scheme |
14 |
#undef ALLOW_KPP |
15 |
|
16 |
C o Include/exclude code for Shapiro filters |
17 |
#define ALLOW_SHAP_FILT |
18 |
|
19 |
C o Include/exclude code for C-D grid method of integrating the |
20 |
C coriolis terms |
21 |
#undef INCLUDE_CD_CODE |
22 |
|
23 |
C o Include/exclude code for open-boundary conditions |
24 |
#undef ALLOW_OBCS |
25 |
|
26 |
C o Include/exclude diagnostics package interface code |
27 |
#define INCLUDE_DIAGNOSTICS_INTERFACE_CODE |
28 |
|
29 |
C o Include/exclude zonal FFT filter code |
30 |
#define ALLOW_ZONAL_FILT |
31 |
|
32 |
C o Include/exclude temperature advection code |
33 |
#define INCLUDE_T_ADVECTION_CODE |
34 |
#ifdef INCLUDE_T_ADVECTION_CODE |
35 |
#define _ADT(a)a |
36 |
#endif |
37 |
#ifndef INCLUDE_T_ADVECTION_CODE |
38 |
#define _ADT(a) |
39 |
#endif |
40 |
|
41 |
C o Include/exclude temperature diffusion code |
42 |
#define INCLUDE_T_DIFFUSION_CODE |
43 |
#ifdef INCLUDE_T_DIFFUSION_CODE |
44 |
#define _LPT(a)a |
45 |
#define _BHT(a)a |
46 |
#endif |
47 |
#ifndef INCLUDE_T_DIFFUSION_CODE |
48 |
#define _LPT(a) |
49 |
#define _BHT(a) |
50 |
#endif |
51 |
|
52 |
C o Include/exclude temperature forcing code |
53 |
#define INCLUDE_T_FORCING_CODE |
54 |
|
55 |
C o Include/exclude momentum advection code |
56 |
#define INCLUDE_MOMENTUM_ADVECTION_CODE |
57 |
#ifdef INCLUDE_MOMENTUM_ADVECTION_CODE |
58 |
#define _ADM(a)a |
59 |
#endif |
60 |
#ifndef INCLUDE_MOMENTUM_ADVECTION_CODE |
61 |
#define _ADM(a) |
62 |
#endif |
63 |
|
64 |
C o Include/exclude laplacian viscosity code |
65 |
#define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
66 |
#ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
67 |
#define _LPM(a)a |
68 |
#endif |
69 |
#ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
70 |
#define _LPM(a) |
71 |
#endif |
72 |
|
73 |
C o Include/exclude biharmonic viscosity code |
74 |
#define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
75 |
#ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
76 |
#define _BHM(a)a |
77 |
#endif |
78 |
#ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
79 |
#define _BHM(a) |
80 |
#endif |
81 |
|
82 |
C o Include/exclude gradient of phy_hyd code |
83 |
#define INCLUDE_GRADPH_CODE |
84 |
#ifdef INCLUDE_GRADPH_CODE |
85 |
#define _PHM(a)a |
86 |
#endif |
87 |
#ifndef INCLUDE_GRADPH_CODE |
88 |
#define _PHM(a) |
89 |
#endif |
90 |
|
91 |
C o Include/exclude momentum forcing code |
92 |
#define INCLUDE_MOMENTUM_FORCING_CODE |
93 |
|
94 |
C o Include/exclude momentum eqn metric terms code |
95 |
#define INCLUDE_MOMENTUM_METRIC_TERM_CODE |
96 |
|
97 |
C o Include/exclude phi_hyd calculation code |
98 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
99 |
|
100 |
C o Include/exclude prognostic variable shapiro filter code |
101 |
C Note - Shapiro filter of prognostics variables requires the |
102 |
C three steps "step forward including edges", filter, |
103 |
C "communicate edges". |
104 |
C If the filtering code is included then we do not use the |
105 |
C pipelined "step forward including edges" in S/R DYNAMICS. |
106 |
C Instead the three steps are performed before DYNAMICS one |
107 |
C after another in an un-pipelined fashion. |
108 |
#undef INCLUDE_SHAPIRO_FILTER_CODE |
109 |
#ifdef INCLUDE_SHAPIRO_FILTER_CODE |
110 |
#undef DO_PIPELINED_CORRECTION_STEP |
111 |
#endif |
112 |
#ifndef INCLUDE_SHAPIRO_FILTER_CODE |
113 |
#define DO_PIPELINED_CORRECTION_STEP |
114 |
#endif |
115 |
|
116 |
C o Include/exclude call to S/R FIND_RHO |
117 |
#define INCLUDE_FIND_RHO_CALL |
118 |
|
119 |
C o Include/exclude call to S/R CONVECT |
120 |
#define INCLUDE_CONVECT_CALL |
121 |
|
122 |
C o Include/exclude call to S/R CALC_ISOSLOPES |
123 |
#define INCLUDE_CALC_ISOSLOPES_CALL |
124 |
|
125 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
126 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
127 |
|
128 |
C o Allow nonHydrostatic code |
129 |
#undef ALLOW_NONHYDROSTATIC |
130 |
|
131 |
C o Use "natural" boundary conditions for salinity |
132 |
C instead of the "virtual salt flux" |
133 |
#undef USE_NATURAL_BCS |
134 |
|
135 |
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
136 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
137 |
C because the old code did not have no-slip BCs |
138 |
#undef OLD_ADV_BCS |
139 |
|
140 |
C o Use "OLD" UV geometry on sphere (definately *NOT* recommended) |
141 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
142 |
C because the old code did not have no-slip BCs |
143 |
#undef OLD_UV_GEOMETRY |
144 |
|
145 |
C o Execution environment support options |
146 |
#include "CPP_EEOPTIONS.h" |
147 |
|
148 |
C o Include/exclude code specific to the ECCO/SEALION version. |
149 |
#undef INCLUDE_ECCO_PACKAGE |
150 |
#ifdef INCLUDE_ECCO_PACKAGE |
151 |
#include "ECCO_CPPOPTIONS.h" |
152 |
#endif |
153 |
|
154 |
|
155 |
|