1 |
C $Header: /u/gcmpack/MITgcm/verification/global_ocean_pressure/code/CPP_OPTIONS.h,v 1.1 2002/12/16 21:41:52 mlosch Exp $ |
2 |
C $Name: $ |
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 |
#define ATMOSPHERIC_LOADING |
10 |
|
11 |
C o Include/exclude code for AIM package |
12 |
c#cndef ALLOW_AIM |
13 |
|
14 |
C o Include/exclude code for GM/Redi parameterization |
15 |
c#cefine ALLOW_GMREDI |
16 |
|
17 |
C o Include/exclude code for KPP mixing scheme |
18 |
c#cndef ALLOW_KPP |
19 |
|
20 |
C o Shortwave heating as extra term in external_forcing.F |
21 |
#ifdef ALLOW_KPP |
22 |
c#cefine SHORTWAVE_HEATING |
23 |
#endif |
24 |
|
25 |
C o Include/exclude code for Shapiro filters |
26 |
c#cndef ALLOW_SHAP_FILT |
27 |
|
28 |
C o Include/exclude code for C-D grid method of integrating the |
29 |
C coriolis terms |
30 |
#undef INCLUDE_CD_CODE |
31 |
|
32 |
C o Include/exclude code for open-boundary conditions |
33 |
c#cndef ALLOW_OBCS |
34 |
|
35 |
C o Include/exclude diagnostics package interface code |
36 |
c#cefine ALLOW_TIMEAVE |
37 |
|
38 |
C o Include/exclude zonal FFT filter code |
39 |
c#cndef ALLOW_ZONAL_FILT |
40 |
|
41 |
C o Include/exclude temperature advection code |
42 |
#define INCLUDE_T_ADVECTION_CODE |
43 |
#ifdef INCLUDE_T_ADVECTION_CODE |
44 |
#define _ADT(a)a |
45 |
#endif |
46 |
#ifndef INCLUDE_T_ADVECTION_CODE |
47 |
#define _ADT(a) |
48 |
#endif |
49 |
|
50 |
C o Include/exclude temperature diffusion code |
51 |
#define INCLUDE_T_DIFFUSION_CODE |
52 |
#ifdef INCLUDE_T_DIFFUSION_CODE |
53 |
#define _LPT(a)a |
54 |
#define _BHT(a)a |
55 |
#endif |
56 |
#ifndef INCLUDE_T_DIFFUSION_CODE |
57 |
#define _LPT(a) |
58 |
#define _BHT(a) |
59 |
#endif |
60 |
|
61 |
C o Include/exclude temperature forcing code |
62 |
#define INCLUDE_T_FORCING_CODE |
63 |
|
64 |
C o Include/exclude momentum advection code |
65 |
#define INCLUDE_MOMENTUM_ADVECTION_CODE |
66 |
#ifdef INCLUDE_MOMENTUM_ADVECTION_CODE |
67 |
#define _ADM(a)a |
68 |
#endif |
69 |
#ifndef INCLUDE_MOMENTUM_ADVECTION_CODE |
70 |
#define _ADM(a) |
71 |
#endif |
72 |
|
73 |
C o Include/exclude laplacian viscosity code |
74 |
#define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
75 |
#ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
76 |
#define _LPM(a)a |
77 |
#endif |
78 |
#ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
79 |
#define _LPM(a) |
80 |
#endif |
81 |
|
82 |
C o Include/exclude biharmonic viscosity code |
83 |
#define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
84 |
#ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
85 |
#define _BHM(a)a |
86 |
#endif |
87 |
#ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
88 |
#define _BHM(a) |
89 |
#endif |
90 |
|
91 |
C o Include/exclude gradient of phy_hyd code |
92 |
#define INCLUDE_GRADPH_CODE |
93 |
#ifdef INCLUDE_GRADPH_CODE |
94 |
#define _PHM(a)a |
95 |
#endif |
96 |
#ifndef INCLUDE_GRADPH_CODE |
97 |
#define _PHM(a) |
98 |
#endif |
99 |
|
100 |
C o Include/exclude momentum forcing code |
101 |
#define INCLUDE_MOMENTUM_FORCING_CODE |
102 |
|
103 |
C o Include/exclude momentum eqn metric terms code |
104 |
#define INCLUDE_MOMENTUM_METRIC_TERM_CODE |
105 |
|
106 |
C o Include/exclude phi_hyd calculation code |
107 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
108 |
|
109 |
C o Include/exclude call to S/R CONVECT |
110 |
#undef INCLUDE_CONVECT_CALL |
111 |
|
112 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
113 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
114 |
|
115 |
C o Allow nonHydrostatic code |
116 |
#undef ALLOW_NONHYDROSTATIC |
117 |
|
118 |
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
119 |
C so that d/dt(eta) is exactly equal to - Div.Transport |
120 |
#define EXACT_CONSERV |
121 |
|
122 |
C o Allow the use of Non-Linear Free-Surface formulation |
123 |
C this implies that surface thickness (hFactors) vary with time |
124 |
C#undef NONLIN_FRSURF |
125 |
#define NONLIN_FRSURF |
126 |
|
127 |
C o Use "OLD" UV discretisation near boundaries (*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_ADV_BCS |
131 |
|
132 |
C o Use "OLD" UV geometry on sphere (definately *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_UV_GEOMETRY |
136 |
|
137 |
C o Execution environment support options |
138 |
#include "CPP_EEOPTIONS.h" |
139 |
|
140 |
C o Include/exclude code specific to the ECCO/SEALION version. |
141 |
#undef INCLUDE_ECCO_PACKAGE |
142 |
#ifdef INCLUDE_ECCO_PACKAGE |
143 |
#include "ECCO_CPPOPTIONS.h" |
144 |
#endif |
145 |
|