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