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