1 |
dimitri |
1.1 |
C $Header: /u/gcmpack/MITgcm/verification/global_with_exf/code/CPP_OPTIONS.h,v 1.9 2004/05/03 21:35:04 dimitri 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 Execution environment support options |
41 |
|
|
#include "CPP_EEOPTIONS.h" |
42 |
|
|
|
43 |
|
|
C o Include/exclude code specific to the ECCO/SEALION version. |
44 |
|
|
#if (defined (ALLOW_AUTODIFF) || \ |
45 |
|
|
defined (ALLOW_ECCO) || \ |
46 |
|
|
defined (ALLOW_EXF)) |
47 |
|
|
# include "ECCO_CPPOPTIONS.h" |
48 |
|
|
#endif |
49 |
|
|
|
50 |
|
|
#endif /* CPP_OPTIONS_H */ |
51 |
|
|
|