1 |
C $Id: CPP_OPTIONS.h,v 1.2 1998/06/08 21:42:59 cnh Exp $ |
2 |
C Set compile time options. |
3 |
C Notes: |
4 |
C Names of the flags are meant to be self-explanatory. |
5 |
C All flags are set here and not left to defaults or |
6 |
C set as compiler options. |
7 |
C Using #define implies switching the corresponding feature on. |
8 |
C Using #undef implies switching the corresponding feature off. |
9 |
|
10 |
C Axis ordering |
11 |
C ============= |
12 |
C This option controls the ordering of axes in three-dimensional arrays. |
13 |
C Note: Only one of these should be switched "on" ( i.e. only one #define ). |
14 |
#define _IJK |
15 |
#undef _KIJ |
16 |
|
17 |
C Debugging |
18 |
C ========= |
19 |
C This option controls whether debug statements are active. |
20 |
#undef _WRITE_DEBUG |
21 |
|
22 |
C Precision |
23 |
C ========= |
24 |
C This option controls the precision to which variables are held. |
25 |
#define _ALL_DOUBLE |
26 |
|
27 |
C Eddy parameterisation |
28 |
C ===================== |
29 |
C Use to switch on or off the GMGS code. |
30 |
#undef GMGS |
31 |
|
32 |
C Momentum equation terms |
33 |
C ======================= |
34 |
C These options control which terms are active in the momentum equations. |
35 |
#define _LAPLACIAN_DIFFUSION_OF_MOMENTUM |
36 |
#undef _BIHARMONIC_DIFFUSION_OF_MOMENTUM |
37 |
#define _ADVECTION_OF_MOMENTUM |
38 |
#define _SPHERICAL_POLAR_METRIC_TERMS |
39 |
#undef _XZ_CORIOLIS |
40 |
#define _XY_CORIOLIS |
41 |
#define _MOMENTUM_FORCING |
42 |
|
43 |
C Temperature equation terms |
44 |
C ========================== |
45 |
C These options control which terms are active in the temperature equation. |
46 |
#define _LAPLACIAN_DIFFUSION_OF_TEMPERATURE |
47 |
#undef _BIHARMONIC_DIFFUSION_OF_TEMPERATURE |
48 |
#define _ADVECTION_OF_TEMPERATURE |
49 |
#undef _TEMPERATURE_FORCING |