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