1 |
C |
2 |
C $Header: /u/gcmpack/MITgcm/verification/global_ocean.90x40x15/code_ad_nlfs/CPP_OPTIONS.h,v 1.3 2008/08/21 16:03:21 jmc 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 |
|
13 |
C********* RELEVANT CHANGES ********* |
14 |
|
15 |
C o Exact volume conservation |
16 |
#define EXACT_CONSERV |
17 |
|
18 |
C o Nonlinear free surface |
19 |
#define NONLIN_FRSURF |
20 |
|
21 |
C o NEW OPTION to disable rStar (z*) code |
22 |
cph#define DISABLE_RSTAR_CODE |
23 |
|
24 |
C********* RELEVANT CHANGES ********* |
25 |
|
26 |
#ifdef ALLOW_KPP |
27 |
#define SHORTWAVE_HEATING |
28 |
#endif |
29 |
|
30 |
C o Include/exclude phi_hyd calculation code |
31 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
32 |
|
33 |
C o Include/exclude call to S/R CONVECT |
34 |
#define INCLUDE_CONVECT_CALL |
35 |
|
36 |
C o Include/exclude call to S/R CALC_DIFFUSIVITY |
37 |
#define INCLUDE_CALC_DIFFUSIVITY_CALL |
38 |
|
39 |
C o Allow nonHydrostatic code |
40 |
#undef ALLOW_NONHYDROSTATIC |
41 |
|
42 |
C o Execution environment support options |
43 |
#include "CPP_EEOPTIONS.h" |
44 |
|
45 |
#ifdef ALLOW_AUTODIFF |
46 |
# include "ECCO_CPPOPTIONS.h" |
47 |
#endif |
48 |
|
49 |
C o Allow full 3D specification of vertical diffusivity |
50 |
#ifdef ALLOW_DIFFKR_CONTROL |
51 |
C - Need to be defined if using DIFFKR_CONTROL |
52 |
C (alternatively, could have put this in ECCO_CPPOPTIONS) |
53 |
#define ALLOW_3D_DIFFKR |
54 |
#else |
55 |
C - otherwise, can be turned on or off hereafter: |
56 |
#undef ALLOW_3D_DIFFKR |
57 |
#endif /* ALLOW_DIFFKR_CONTROL */ |
58 |
|
59 |
#endif /* CPP_OPTIONS_H */ |
60 |
|