1 |
C /==========================================================\ |
2 |
C | KPP_OPTIONS.h | |
3 |
C | o CPP options file for KPP package. | |
4 |
C |==========================================================| |
5 |
C | Use this file for selecting options within the KPP | |
6 |
C | package. KPP is enabled with ALLOW_KPP in CPP_OPTIONS.h | |
7 |
C \==========================================================/ |
8 |
|
9 |
#include "CPP_OPTIONS.h" |
10 |
|
11 |
C o Set precision for KPP variables (Real*4 or Real*8) |
12 |
#define _KPP_RL Real*8 |
13 |
|
14 |
#ifdef ALLOW_KPP |
15 |
|
16 |
C o When set, use exchange calls rather than recomputation |
17 |
C to obtain KPP parameters in overlap region. This option |
18 |
C was added to reduce stack size requirements on the |
19 |
C Origin 2000. It decreases memory and computation |
20 |
C requirements at the expense of increased communications. |
21 |
C For a 64-processor 360x224x46 MPI configuration on the |
22 |
C Exemplar or Origin 2000, wall clock time is about the |
23 |
C same whether FRUGAL_KPP is turned on or off. |
24 |
#undef FRUGAL_KPP |
25 |
|
26 |
C o When set, smooth zonal shear meridionally and |
27 |
C meridional shear zonally with 121 filters |
28 |
#define KPP_SMOOTH_SHSQ |
29 |
#undef KPP_SMOOTH_DVSQ |
30 |
|
31 |
C o When set, smooth dbloc KPP variable horizontally |
32 |
#define KPP_SMOOTH_DBLOC |
33 |
|
34 |
C o When set, smooth all KPP density variables horizontally |
35 |
#undef KPP_SMOOTH_DENS |
36 |
#ifdef KPP_SMOOTH_DENS |
37 |
# define KPP_SMOOTH_DBLOC |
38 |
#endif |
39 |
|
40 |
C o When set, smooth vertical viscosity horizontally |
41 |
#undef KPP_SMOOTH_VISC |
42 |
|
43 |
C o When set, smooth vertical diffusivity horizontally |
44 |
#undef KPP_SMOOTH_DIFF |
45 |
|
46 |
C o Get rid of vertical resolution dependence of dVsq term by |
47 |
C estimating a surface velocity that is independent of first |
48 |
C level thickness in the model. |
49 |
#undef KPP_ESTIMATE_UREF |
50 |
|
51 |
C o Include/exclude various time-averaged diagnostic output |
52 |
C for saving storage space |
53 |
#ifdef INCLUDE_DIAGNOSTICS_INTERFACE_CODE |
54 |
#define INCLUDE_DIAGNOSTICS_KPP |
55 |
#undef INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE |
56 |
#endif |
57 |
|
58 |
C o Include/exclude KPP non/local transport terms |
59 |
#define KPP_GHAT |
60 |
|
61 |
#endif /* ALLOW_KPP */ |