1 |
|
C $Header$ |
2 |
|
|
3 |
|
C |
4 |
|
C CPP flags controlling which code in included in the files that |
5 |
|
C will be compiled. |
6 |
|
C |
7 |
|
|
8 |
|
C o Include/exclude code for GM/Redi parameterization |
9 |
|
#undef ALLOW_GMREDI |
10 |
|
|
11 |
|
C o Include/exclude code for KPP mixing scheme |
12 |
|
#undef ALLOW_KPP |
13 |
|
|
14 |
|
C o Include/exclude code for Shapiro filters |
15 |
|
#define ALLOW_SHAP_FILT |
16 |
|
|
17 |
|
C o Include/exclude code for C-D grid method of integrating the |
18 |
|
C coriolis terms |
19 |
|
#undef INCLUDE_CD_CODE |
20 |
|
|
21 |
|
C o Include/exclude code for open-boundary conditions |
22 |
|
#undef ALLOW_OBCS |
23 |
|
|
24 |
|
C o Include/exclude diagnostics package interface code |
25 |
|
#define INCLUDE_DIAGNOSTICS_INTERFACE_CODE |
26 |
|
|
27 |
|
C o Include/exclude latitude circle FFT filter |
28 |
|
#undef INCLUDE_LAT_CIRC_FFT_FILTER_CODE |
29 |
|
C#undef ALLOW_DXML_FFT |
30 |
|
C#undef INCLUDE_DXML_FFT |
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 |
|
#define INCLUDE_SHAPIRO_FILTER_CODE |
109 |
|
|
110 |
|
C o Include/exclude call to S/R FIND_RHO |
111 |
|
#define INCLUDE_FIND_RHO_CALL |
112 |
|
|
113 |
|
C o Include/exclude call to S/R CONVECT |
114 |
|
#define INCLUDE_CONVECT_CALL |
115 |
|
|
116 |
|
C o Include/exclude call to S/R CALC_ISOSLOPES |
117 |
|
#define INCLUDE_CALC_ISOSLOPES_CALL |
118 |
|
|
119 |
|
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
120 |
|
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
121 |
|
|
122 |
|
C o Allow nonHydrostatic code |
123 |
|
#undef ALLOW_NONHYDROSTATIC |
124 |
|
|
125 |
|
C o Use "natural" boundary conditions for salinity |
126 |
|
C instead of the "virtual salt flux" |
127 |
|
#undef USE_NATURAL_BCS |
128 |
|
|
129 |
|
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
130 |
|
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
131 |
|
C because the old code did not have no-slip BCs |
132 |
|
#undef OLD_ADV_BCS |
133 |
|
|
134 |
|
C o Use "OLD" UV geometry on sphere (definately *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_UV_GEOMETRY |
138 |
|
|
139 |
|
C o Execution environment support options |
140 |
|
#include "CPP_EEOPTIONS.h" |