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