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