1 |
dimitri |
1.1 |
C $Header: /u/gcmpack/MITgcm/verification/global_with_exf/code/CPP_OPTIONS.h,v 1.10 2005/02/07 16:12:19 heimbach Exp $ |
2 |
|
|
C $Name: checkpoint57w_post $ |
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 Include/exclude code for C-D grid method of integrating the |
10 |
|
|
C coriolis terms |
11 |
|
|
#define INCLUDE_CD_CODE |
12 |
|
|
|
13 |
|
|
C o Shortwave heating as extra term in external_forcing.F |
14 |
|
|
C Note: this should be a run-time option |
15 |
|
|
#define SHORTWAVE_HEATING |
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 |
|
|
#undef 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 Use "natural" boundary conditions for salinity |
30 |
|
|
C instead of the "virtual salt flux" |
31 |
|
|
#undef USE_NATURAL_BCS |
32 |
|
|
|
33 |
|
|
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
34 |
|
|
C so that d/dt(eta) is exactly equal to - Div.Transport |
35 |
|
|
#define EXACT_CONSERV |
36 |
|
|
|
37 |
|
|
C o Allow the use of Non-Linear Free-Surface formulation |
38 |
|
|
C this implies that surface thickness (hFactors) vary with time |
39 |
|
|
#undef NONLIN_FRSURF |
40 |
|
|
|
41 |
|
|
C o Use "OLD" UV discretisation near boundaries (*not* recommended) |
42 |
|
|
C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F |
43 |
|
|
C because the old code did not have no-slip BCs |
44 |
|
|
#undef OLD_ADV_BCS |
45 |
|
|
|
46 |
|
|
C o Execution environment support options |
47 |
|
|
#include "CPP_EEOPTIONS.h" |
48 |
|
|
|
49 |
|
|
C o Include/exclude code specific to the ECCO/SEALION version. |
50 |
|
|
C AUTODIFF or EXF package. |
51 |
|
|
C Currently controled by a single header file |
52 |
|
|
C For this to work, PACKAGES_CONFIG.h needs to be included! |
53 |
|
|
cph#if (defined (ALLOW_AUTODIFF) || \ |
54 |
|
|
cph defined (ALLOW_ECCO) || \ |
55 |
|
|
cph defined (ALLOW_EXF)) |
56 |
|
|
# include "ECCO_CPPOPTIONS.h" |
57 |
|
|
cph#endif |
58 |
|
|
|
59 |
|
|
#endif /* CPP_OPTIONS_H */ |
60 |
|
|
|