1 |
mmazloff |
1.2 |
C $Header: /u/gcmpack/MITgcm_contrib/SOSE/code_ad/CPP_OPTIONS.h_ORIG,v 1.1 2010/04/23 19:55:11 mmazloff Exp $ |
2 |
mmazloff |
1.1 |
C |
3 |
|
|
|
4 |
|
|
C |
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 phi_hyd calculation code |
20 |
|
|
#define INCLUDE_PHIHYD_CALCULATION_CODE |
21 |
|
|
|
22 |
|
|
C o Include/exclude call to S/R FIND_RHO |
23 |
|
|
#define INCLUDE_FIND_RHO_CALL |
24 |
|
|
|
25 |
|
|
C o Include/exclude call to S/R CONVECT |
26 |
|
|
#define INCLUDE_CONVECT_CALL |
27 |
|
|
|
28 |
|
|
C o Include/exclude call to S/R CALC_ISOSLOPES |
29 |
|
|
#define INCLUDE_CALC_ISOSLOPES_CALL |
30 |
|
|
|
31 |
|
|
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
32 |
|
|
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
33 |
|
|
|
34 |
|
|
C o Allow nonHydrostatic code |
35 |
|
|
#undef ALLOW_NONHYDROSTATIC |
36 |
|
|
|
37 |
|
|
C o Use "natural" boundary conditions for salinity |
38 |
|
|
C instead of the "virtual salt flux" |
39 |
|
|
C #undef USE_NATURAL_BCS |
40 |
|
|
|
41 |
|
|
C o Include/exclude exact volume conservaion |
42 |
|
|
#undef EXACT_CONSERV |
43 |
|
|
|
44 |
|
|
C o Execution environment support options |
45 |
|
|
#include "CPP_EEOPTIONS.h" |
46 |
|
|
|
47 |
|
|
C o Include/exclude code specific to the ECCO/SEALION version. |
48 |
|
|
#if (defined (ALLOW_AUTODIFF) || \ |
49 |
|
|
defined (ALLOW_ECCO) || \ |
50 |
|
|
defined (ALLOW_EXF)) |
51 |
|
|
# include "ECCO_CPPOPTIONS.h" |
52 |
|
|
#endif |
53 |
|
|
|
54 |
|
|
#endif /* CPP_OPTIONS_H */ |
55 |
|
|
|