1 |
C |
2 |
C $Header: $ |
3 |
C $Name: $ |
4 |
|
5 |
#include "AD_CONFIG.h" |
6 |
|
7 |
C |
8 |
C CPP flags controlling which code in included in the files that |
9 |
C will be compiled. |
10 |
C |
11 |
|
12 |
C o Include/exclude code for AIM package |
13 |
#undef ALLOW_AIM |
14 |
|
15 |
C o Include/exclude code for GM/Redi parameterization |
16 |
#define ALLOW_GMREDI |
17 |
|
18 |
C o Include/exclude code for KPP mixing scheme |
19 |
#undef ALLOW_KPP |
20 |
|
21 |
C o Shortwave heating as extra term in external_forcing.F |
22 |
#ifdef ALLOW_KPP |
23 |
#define SHORTWAVE_HEATING |
24 |
#endif |
25 |
|
26 |
C o Include/exclude code for Shapiro filters |
27 |
#define ALLOW_SHAP_FILT |
28 |
|
29 |
C o Include/exclude code for C-D grid method of integrating the |
30 |
C coriolis terms |
31 |
#undef INCLUDE_CD_CODE |
32 |
|
33 |
C o Include/exclude code for open-boundary conditions |
34 |
#undef ALLOW_OBCS |
35 |
|
36 |
C o Include/exclude diagnostics package interface code |
37 |
#undef ALLOW_TIMEAVE |
38 |
|
39 |
C o Include/exclude zonal FFT filter code |
40 |
#undef ALLOW_ZONAL_FILT |
41 |
|
42 |
C o Include/exclude temperature advection code |
43 |
#define INCLUDE_TR1_ADVECTION_CODE |
44 |
#define INCLUDE_T_ADVECTION_CODE |
45 |
#ifdef INCLUDE_T_ADVECTION_CODE |
46 |
#define _ADT(a)a |
47 |
#endif |
48 |
#ifndef INCLUDE_T_ADVECTION_CODE |
49 |
#define _ADT(a) |
50 |
#endif |
51 |
|
52 |
C o Include/exclude temperature diffusion code |
53 |
#define INCLUDE_TR1_DIFFUSION_CODE |
54 |
#define INCLUDE_T_DIFFUSION_CODE |
55 |
#ifdef INCLUDE_T_DIFFUSION_CODE |
56 |
#define _LPT(a)a |
57 |
#define _BHT(a)a |
58 |
#endif |
59 |
#ifndef INCLUDE_T_DIFFUSION_CODE |
60 |
#define _LPT(a) |
61 |
#define _BHT(a) |
62 |
#endif |
63 |
|
64 |
C o Include/exclude temperature forcing code |
65 |
#define INCLUDE_T_FORCING_CODE |
66 |
|
67 |
C o Include/exclude momentum advection code |
68 |
#define INCLUDE_MOMENTUM_ADVECTION_CODE |
69 |
#ifdef INCLUDE_MOMENTUM_ADVECTION_CODE |
70 |
#define _ADM(a)a |
71 |
#endif |
72 |
#ifndef INCLUDE_MOMENTUM_ADVECTION_CODE |
73 |
#define _ADM(a) |
74 |
#endif |
75 |
|
76 |
C o Include/exclude laplacian viscosity code |
77 |
#define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
78 |
#ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
79 |
#define _LPM(a)a |
80 |
#endif |
81 |
#ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE |
82 |
#define _LPM(a) |
83 |
#endif |
84 |
|
85 |
C o Include/exclude biharmonic viscosity code |
86 |
#define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
87 |
#ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
88 |
#define _BHM(a)a |
89 |
#endif |
90 |
#ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE |
91 |
#define _BHM(a) |
92 |
#endif |
93 |
|
94 |
C o Include/exclude gradient of phy_hyd code |
95 |
#define INCLUDE_GRADPH_CODE |
96 |
#ifdef INCLUDE_GRADPH_CODE |
97 |
#define _PHM(a)a |
98 |
#endif |
99 |
#ifndef INCLUDE_GRADPH_CODE |
100 |
#define _PHM(a) |
101 |
#endif |
102 |
|
103 |
C o Include/exclude momentum forcing code |
104 |
#define INCLUDE_MOMENTUM_FORCING_CODE |
105 |
|
106 |
C o Include/exclude momentum eqn metric terms code |
107 |
#define INCLUDE_MOMENTUM_METRIC_TERM_CODE |
108 |
|
109 |
C o Include/exclude phi_hyd calculation code |
110 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
111 |
|
112 |
C o Include/exclude call to S/R CONVECT |
113 |
#define INCLUDE_CONVECT_CALL |
114 |
|
115 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
116 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
117 |
|
118 |
C o Allow nonHydrostatic code |
119 |
#undef ALLOW_NONHYDROSTATIC |
120 |
|
121 |
C o Use "natural" boundary conditions for salinity |
122 |
C instead of the "virtual salt flux" |
123 |
#undef USE_NATURAL_BCS |
124 |
|
125 |
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
126 |
C so that d/dt(eta) is exactly equal to - Div.Transport |
127 |
#define EXACT_CONSERV |
128 |
|
129 |
C o Allow the use of Non-Linear Free-Surface formulation |
130 |
C this implies that surface thickness (hFactors) vary with time |
131 |
#undef NONLIN_FRSURF |
132 |
|
133 |
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
134 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
135 |
C because the old code did not have no-slip BCs |
136 |
#undef OLD_ADV_BCS |
137 |
|
138 |
C o Use "OLD" UV geometry on sphere (definately *NOT* recommended) |
139 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
140 |
C because the old code did not have no-slip BCs |
141 |
#undef OLD_UV_GEOMETRY |
142 |
|
143 |
C o Execution environment support options |
144 |
#include "CPP_EEOPTIONS.h" |
145 |
|
146 |
C o Add passive tracer advection routines |
147 |
#define ALLOW_PASSIVE_TRACER |
148 |
|
149 |
C o Include/exclude monitor package |
150 |
#define EXCLUDE_MONITOR |
151 |
|
152 |
C o Include/exclude code specific to the ECCO/SEALION version. |
153 |
#undef INCLUDE_ECCO_PACKAGE |
154 |
#define ALLOW_ADJOINT_RUN |
155 |
#define ALLOW_GRADIENT_CHECK |
156 |
#undef ALLOW_TANGENTLINEAR_RUN |
157 |
|
158 |
#if (defined (INCLUDE_ECCO_PACKAGE) || \ |
159 |
defined (ALLOW_ADJOINT_RUN) || \ |
160 |
defined (ALLOW_TANGENTLINEAR_RUN)) |
161 |
#include "ECCO_CPPOPTIONS.h" |
162 |
#endif |
163 |
|