1 |
mlosch |
1.17 |
C $Header: /u/gcmpack/MITgcm/pkg/kpp/KPP_OPTIONS.h,v 1.16 2008/09/29 18:35:53 dfer Exp $ |
2 |
jmc |
1.12 |
C $Name: $ |
3 |
|
|
|
4 |
adcroft |
1.1 |
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 |
heimbach |
1.9 |
C | package. KPP is enabled with ALLOW_KPP in CPP_OPTIONS.h | |
10 |
adcroft |
1.1 |
C \==========================================================/ |
11 |
|
|
|
12 |
edhill |
1.7 |
#ifndef KPP_OPTIONS_H |
13 |
|
|
#define KPP_OPTIONS_H |
14 |
|
|
#include "PACKAGES_CONFIG.h" |
15 |
edhill |
1.8 |
|
16 |
edhill |
1.7 |
#ifdef ALLOW_KPP |
17 |
|
|
|
18 |
adcroft |
1.1 |
#include "CPP_OPTIONS.h" |
19 |
|
|
|
20 |
dimitri |
1.13 |
C o When set, smooth shear horizontally with 121 filters |
21 |
adcroft |
1.1 |
#define KPP_SMOOTH_SHSQ |
22 |
|
|
#undef KPP_SMOOTH_DVSQ |
23 |
|
|
|
24 |
|
|
C o When set, smooth dbloc KPP variable horizontally |
25 |
|
|
#define KPP_SMOOTH_DBLOC |
26 |
|
|
|
27 |
|
|
C o When set, smooth all KPP density variables horizontally |
28 |
|
|
#undef KPP_SMOOTH_DENS |
29 |
|
|
#ifdef KPP_SMOOTH_DENS |
30 |
|
|
# define KPP_SMOOTH_DBLOC |
31 |
|
|
#endif |
32 |
|
|
|
33 |
|
|
C o When set, smooth vertical viscosity horizontally |
34 |
|
|
#undef KPP_SMOOTH_VISC |
35 |
|
|
|
36 |
|
|
C o When set, smooth vertical diffusivity horizontally |
37 |
|
|
#undef KPP_SMOOTH_DIFF |
38 |
|
|
|
39 |
heimbach |
1.3 |
C o Get rid of vertical resolution dependence of dVsq term by |
40 |
|
|
C estimating a surface velocity that is independent of first |
41 |
|
|
C level thickness in the model. |
42 |
|
|
#undef KPP_ESTIMATE_UREF |
43 |
adcroft |
1.1 |
|
44 |
heimbach |
1.2 |
C o Include/exclude KPP non/local transport terms |
45 |
|
|
#define KPP_GHAT |
46 |
adcroft |
1.1 |
|
47 |
heimbach |
1.9 |
C o Exclude Interior shear instability mixing |
48 |
|
|
#undef EXCLUDE_KPP_SHEAR_MIX |
49 |
|
|
|
50 |
mlosch |
1.17 |
C o Exclude double diffusive mixing in the interior |
51 |
|
|
#undef EXCLUDE_KPP_DOUBLEDIFF |
52 |
|
|
|
53 |
heimbach |
1.9 |
C o Avoid as many as possible AD recomputations |
54 |
|
|
C usually not necessary, but useful for testing |
55 |
|
|
#undef KPP_AUTODIFF_EXCESSIVE_STORE |
56 |
|
|
|
57 |
dfer |
1.16 |
C o Vertically smooth Ri (for interior shear mixing) |
58 |
|
|
#undef ALLOW_KPP_VERTICALLY_SMOOTH |
59 |
|
|
|
60 |
adcroft |
1.1 |
#endif /* ALLOW_KPP */ |
61 |
edhill |
1.7 |
#endif /* KPP_OPTIONS_H */ |
62 |
heimbach |
1.9 |
|
63 |
edhill |
1.10 |
|
64 |
|
|
CEH3 ;;; Local Variables: *** |
65 |
|
|
CEH3 ;;; mode:fortran *** |
66 |
|
|
CEH3 ;;; End: *** |