1 |
adcroft |
1.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 |
heimbach |
1.3 |
C o Set precision for KPP variables (Real*4 or Real*8) |
12 |
|
|
#define _KPP_RL Real*8 |
13 |
|
|
|
14 |
adcroft |
1.1 |
#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 |
heimbach |
1.4 |
C o Switch on vertical smoothing, the number of sweeps is set in the namelist |
47 |
|
|
#undef ALLOW_KPP_VERTICALLY_SMOOTH |
48 |
|
|
|
49 |
heimbach |
1.3 |
C o Get rid of vertical resolution dependence of dVsq term by |
50 |
|
|
C estimating a surface velocity that is independent of first |
51 |
|
|
C level thickness in the model. |
52 |
|
|
#undef KPP_ESTIMATE_UREF |
53 |
adcroft |
1.1 |
|
54 |
|
|
C o Include/exclude various time-averaged diagnostic output |
55 |
|
|
C for saving storage space |
56 |
heimbach |
1.3 |
#ifdef INCLUDE_DIAGNOSTICS_INTERFACE_CODE |
57 |
adcroft |
1.1 |
#define INCLUDE_DIAGNOSTICS_KPP |
58 |
|
|
#undef INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE |
59 |
|
|
#endif |
60 |
|
|
|
61 |
heimbach |
1.2 |
C o Include/exclude KPP non/local transport terms |
62 |
|
|
#define KPP_GHAT |
63 |
adcroft |
1.1 |
|
64 |
|
|
#endif /* ALLOW_KPP */ |