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