1 |
heimbach |
1.1 |
C |
2 |
jmc |
1.2 |
C $Header: /u/gcmpack/MITgcm/verification/OpenAD/code_ad_singlelayer/CPP_OPTIONS.h,v 1.1 2007/05/10 16:29:15 heimbach Exp $ |
3 |
heimbach |
1.1 |
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 |
|
|
|
13 |
|
|
C o Run as shallow water model |
14 |
|
|
#define SINGLE_LAYER_MODE |
15 |
|
|
|
16 |
|
|
#ifdef ALLOW_KPP |
17 |
|
|
#define SHORTWAVE_HEATING |
18 |
|
|
#endif |
19 |
|
|
|
20 |
|
|
C o Include/exclude phi_hyd calculation code |
21 |
|
|
#define INCLUDE_PHIHYD_CALCULATION_CODE |
22 |
|
|
|
23 |
|
|
C o Include/exclude call to S/R CONVECT |
24 |
|
|
#undef INCLUDE_CONVECT_CALL |
25 |
|
|
|
26 |
|
|
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
27 |
|
|
#undef INCLUDE_CALC_DIFFUSIVITY_CALL |
28 |
|
|
|
29 |
|
|
C o Allow nonHydrostatic code |
30 |
|
|
#undef ALLOW_NONHYDROSTATIC |
31 |
|
|
|
32 |
|
|
C o Exact volume conservation |
33 |
|
|
#undef EXACT_CONSERV |
34 |
|
|
|
35 |
|
|
C o Execution environment support options |
36 |
|
|
#include "CPP_EEOPTIONS.h" |
37 |
|
|
|
38 |
|
|
#ifdef ALLOW_AUTODIFF |
39 |
|
|
# include "ECCO_CPPOPTIONS.h" |
40 |
|
|
#endif |
41 |
|
|
|
42 |
jmc |
1.2 |
C o Allow full 3D specification of vertical diffusivity |
43 |
|
|
#ifdef ALLOW_DIFFKR_CONTROL |
44 |
|
|
C - Need to be defined if using DIFFKR_CONTROL |
45 |
|
|
C (alternatively, could have put this in ECCO_CPPOPTIONS) |
46 |
|
|
#define ALLOW_3D_DIFFKR |
47 |
|
|
#else |
48 |
|
|
C - otherwise, can be turned on or off hereafter: |
49 |
|
|
#undef ALLOW_3D_DIFFKR |
50 |
|
|
#endif /* ALLOW_DIFFKR_CONTROL */ |
51 |
|
|
|
52 |
heimbach |
1.1 |
#endif /* CPP_OPTIONS_H */ |
53 |
|
|
|