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