1 |
C $Header: /usr/local/gcmpack/MITgcm_contrib/ocean_inversion_project/code/CPP_OPTIONS.h,v 1.2 2003/09/23 04:34:23 dimitri Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "PACKAGES_CONFIG.h" |
5 |
|
6 |
C CPP flags controlling particular source code features |
7 |
|
8 |
C o Include/exclude code for C-D grid method of integrating the |
9 |
C coriolis terms |
10 |
#define INCLUDE_CD_CODE |
11 |
|
12 |
C o Include/exclude temperature forcing code |
13 |
C#define INCLUDE_T_FORCING_CODE |
14 |
|
15 |
C o Shortwave heating as extra term in external_forcing.F |
16 |
C Note: this should be a run-time option and not necessarily dependent on KPP |
17 |
#ifdef ALLOW_KPP |
18 |
#define SHORTWAVE_HEATING |
19 |
#endif |
20 |
|
21 |
C o Include/exclude momentum forcing code |
22 |
#define INCLUDE_MOMENTUM_FORCING_CODE |
23 |
|
24 |
C o Include/exclude momentum eqn metric terms code |
25 |
#define INCLUDE_MOMENTUM_METRIC_TERM_CODE |
26 |
|
27 |
C o Include/exclude phi_hyd calculation code |
28 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
29 |
|
30 |
C o Include/exclude call to S/R CONVECT |
31 |
#undef INCLUDE_CONVECT_CALL |
32 |
|
33 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
34 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
35 |
|
36 |
C o Include/exclude nonHydrostatic code |
37 |
#undef ALLOW_NONHYDROSTATIC |
38 |
|
39 |
C o Use "natural" boundary conditions for salinity |
40 |
C instead of the "virtual salt flux" |
41 |
#undef USE_NATURAL_BCS |
42 |
|
43 |
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
44 |
C so that d/dt(eta) is exactly equal to - Div.Transport |
45 |
#define EXACT_CONSERV |
46 |
|
47 |
C o Allow the use of Non-Linear Free-Surface formulation |
48 |
C this implies that surface thickness (hFactors) vary with time |
49 |
#undef NONLIN_FRSURF |
50 |
|
51 |
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
52 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
53 |
C because the old code did not have no-slip BCs |
54 |
#undef OLD_ADV_BCS |
55 |
|
56 |
C o Use "OLD" UV geometry on sphere (definately *NOT* recommended) |
57 |
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
58 |
C because the old code did not have no-slip BCs |
59 |
#undef OLD_UV_GEOMETRY |
60 |
|
61 |
C o Execution environment support options |
62 |
#include "CPP_EEOPTIONS.h" |
63 |
|
64 |
C o Include/exclude code specific to the ECCO/SEALION version. |
65 |
#undef INCLUDE_ECCO_PACKAGE |
66 |
#ifdef INCLUDE_ECCO_PACKAGE |
67 |
#include "ECCO_CPPOPTIONS.h" |
68 |
#endif |