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