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