1 |
edhill |
1.13 |
C $Header: /u/u3/gcmpack/MITgcm/verification/internal_wave/code/CPP_OPTIONS.h,v 1.12 2003/11/03 03:16:44 edhill Exp $ |
2 |
jmc |
1.3 |
C $Name: $ |
3 |
adcroft |
1.1 |
|
4 |
edhill |
1.12 |
#ifndef CPP_OPTIONS_H |
5 |
|
|
#define CPP_OPTIONS_H |
6 |
adcroft |
1.1 |
|
7 |
edhill |
1.9 |
C CPP flags controlling particular source code features |
8 |
adcroft |
1.1 |
|
9 |
jmc |
1.3 |
C o Shortwave heating as extra term in external_forcing.F |
10 |
edhill |
1.9 |
C Note: this should be a run-time option and not necessarily dependent on KPP |
11 |
jmc |
1.3 |
#ifdef ALLOW_KPP |
12 |
|
|
#define SHORTWAVE_HEATING |
13 |
|
|
#endif |
14 |
|
|
|
15 |
adcroft |
1.1 |
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 |
edhill |
1.9 |
C o Include/exclude nonHydrostatic code |
25 |
edhill |
1.10 |
#define ALLOW_NONHYDROSTATIC |
26 |
adcroft |
1.1 |
|
27 |
edhill |
1.9 |
C o Include pressure loading code |
28 |
|
|
#define ATMOSPHERIC_LOADING |
29 |
adcroft |
1.5 |
|
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 |
adcroft |
1.6 |
#define NONLIN_FRSURF |
37 |
adcroft |
1.1 |
|
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 |
jmc |
1.3 |
|
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 |
edhill |
1.12 |
|
52 |
|
|
#endif /* CPP_OPTIONS_H */ |
53 |
|
|
|