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