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