1 |
C $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/CPP_OPTIONS.h,v 1.3 2008/08/21 16:03:21 jmc Exp $ |
2 |
C $Name: $ |
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 |
|
13 |
CmlC not sure of this |
14 |
Cmlcph( |
15 |
Cml#define DISABLE_MOM_VECINV |
16 |
Cml#define MOMVISCOSITY |
17 |
Cml#define MOMADVECTION |
18 |
Cmlcph) |
19 |
|
20 |
C o Shortwave heating as extra term in external_forcing.F |
21 |
#ifdef ALLOW_KPP |
22 |
#define SHORTWAVE_HEATING |
23 |
#endif |
24 |
|
25 |
C o Include/exclude phi_hyd calculation code |
26 |
#define INCLUDE_PHIHYD_CALCULATION_CODE |
27 |
|
28 |
C o Include/exclude call to S/R CONVECT |
29 |
#define INCLUDE_CONVECT_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 NEW OPTION to disable rStar (z*) code |
38 |
#undef NONLIN_FRSURF |
39 |
#define DISABLE_RSTAR_CODE |
40 |
#define DISABLE_SIGMA_CODE |
41 |
|
42 |
C o Exact volume conservation |
43 |
#define EXACT_CONSERV |
44 |
|
45 |
c o Allow atmospheric loading |
46 |
#define ATMOSPHERIC_LOADING |
47 |
|
48 |
C o Execution environment support options |
49 |
#include "CPP_EEOPTIONS.h" |
50 |
|
51 |
#ifdef ALLOW_AUTODIFF |
52 |
# include "ECCO_CPPOPTIONS.h" |
53 |
#endif |
54 |
|
55 |
C o Allow full 3D specification of vertical diffusivity |
56 |
#ifdef ALLOW_DIFFKR_CONTROL |
57 |
C - Need to be defined if using DIFFKR_CONTROL |
58 |
C (alternatively, could have put this in ECCO_CPPOPTIONS) |
59 |
#define ALLOW_3D_DIFFKR |
60 |
#else |
61 |
C - otherwise, can be turned on or off hereafter: |
62 |
#undef ALLOW_3D_DIFFKR |
63 |
#endif /* ALLOW_DIFFKR_CONTROL */ |
64 |
|
65 |
#endif /* CPP_OPTIONS_H */ |