1 |
dimitri |
1.1 |
C $Header: /u/gcmpack/MITgcm/pkg/kpp/KPP_OPTIONS.h,v 1.12 2005/09/11 16:52:08 jmc Exp $ |
2 |
|
|
C $Name: checkpoint57w_post $ |
3 |
|
|
|
4 |
|
|
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 |
|
|
#define FRUGAL_KPP |
32 |
|
|
|
33 |
|
|
C o When set, smooth zonal shear meridionally and |
34 |
|
|
C meridional shear zonally with 121 filters |
35 |
|
|
#undef KPP_SMOOTH_SHSQ |
36 |
|
|
#undef KPP_SMOOTH_DVSQ |
37 |
|
|
|
38 |
|
|
C o When set, smooth dbloc KPP variable horizontally |
39 |
|
|
#undef 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 KPP non/local transport terms |
59 |
|
|
#define KPP_GHAT |
60 |
|
|
|
61 |
|
|
C o Exclude Interior shear instability mixing |
62 |
|
|
#undef EXCLUDE_KPP_SHEAR_MIX |
63 |
|
|
|
64 |
|
|
C o Avoid as many as possible AD recomputations |
65 |
|
|
C usually not necessary, but useful for testing |
66 |
|
|
#undef KPP_AUTODIFF_EXCESSIVE_STORE |
67 |
|
|
|
68 |
|
|
#endif /* ALLOW_KPP */ |
69 |
|
|
#endif /* KPP_OPTIONS_H */ |
70 |
|
|
|
71 |
|
|
|
72 |
|
|
CEH3 ;;; Local Variables: *** |
73 |
|
|
CEH3 ;;; mode:fortran *** |
74 |
|
|
CEH3 ;;; End: *** |