1 |
C |
2 |
C $Header: /u/gcmpack/MITgcm/verification/hs94.1x64x5/adcode/CPP_OPTIONS.h,v 1.4 2003/10/23 04:41:41 edhill Exp $ |
3 |
C $Name: $ |
4 |
|
5 |
C CPP flags controlling which code in included in the files that |
6 |
C will be compiled. |
7 |
|
8 |
#ifndef CPP_OPTIONS_H |
9 |
#define CPP_OPTIONS_H |
10 |
|
11 |
#include "PACKAGES_CONFIG.h" |
12 |
#include "AD_CONFIG.h" |
13 |
|
14 |
C o Shortwave heating as extra term in external_forcing.F |
15 |
#ifdef ALLOW_KPP |
16 |
#define SHORTWAVE_HEATING |
17 |
#endif |
18 |
|
19 |
C o Include/exclude code for C-D grid method of integrating the |
20 |
C coriolis terms |
21 |
#undef INCLUDE_CD_CODE |
22 |
|
23 |
C o Include/exclude momentum eqn metric terms code |
24 |
#define INCLUDE_MOMENTUM_METRIC_TERM_CODE |
25 |
|
26 |
C o Include/exclude phi_hyd calculation code |
27 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
28 |
|
29 |
C o Include/exclude call to S/R CONVECT |
30 |
#define INCLUDE_CONVECT_CALL |
31 |
|
32 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
33 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
34 |
|
35 |
C o Allow nonHydrostatic code |
36 |
#undef ALLOW_NONHYDROSTATIC |
37 |
|
38 |
C o Use "natural" boundary conditions for salinity |
39 |
C instead of the "virtual salt flux" |
40 |
#undef USE_NATURAL_BCS |
41 |
|
42 |
C o Use "Exact Convervation" of fluid in Free-Surface formulation |
43 |
C so that d/dt(eta) is exactly equal to - Div.Transport |
44 |
#define EXACT_CONSERV |
45 |
|
46 |
C o Allow the use of Non-Linear Free-Surface formulation |
47 |
C this implies that surface thickness (hFactors) vary with time |
48 |
#undef NONLIN_FRSURF |
49 |
|
50 |
C o Read/write of checkpoint files for restarting. |
51 |
#undef OLD_STYLE_WITH_MANY_FILES |
52 |
|
53 |
C o Execution environment support options |
54 |
#include "CPP_EEOPTIONS.h" |
55 |
|
56 |
C o Include/exclude code specific to the ECCO/SEALION version. |
57 |
#define ALLOW_GRADIENT_CHECK |
58 |
|
59 |
#if (defined (INCLUDE_ECCO_PACKAGE) || defined (ALLOW_ADJOINT_RUN)) |
60 |
#include "ECCO_CPPOPTIONS.h" |
61 |
#endif |
62 |
|
63 |
#endif /* CPP_OPTIONS_H */ |