1 |
dfer |
1.7 |
C $Header: /u/gcmpack/MITgcm/verification/natl_box_adjoint/code/KPP_OPTIONS.h,v 1.6 2008/09/26 21:49:51 dfer Exp $ |
2 |
jmc |
1.5 |
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 When set, smooth zonal shear meridionally and |
21 |
|
|
C meridional shear zonally with 121 filters |
22 |
|
|
#define KPP_SMOOTH_SHSQ |
23 |
|
|
#undef KPP_SMOOTH_DVSQ |
24 |
|
|
|
25 |
|
|
C o When set, smooth dbloc KPP variable horizontally |
26 |
|
|
#define KPP_SMOOTH_DBLOC |
27 |
|
|
|
28 |
|
|
C o When set, smooth all KPP density variables horizontally |
29 |
|
|
#undef KPP_SMOOTH_DENS |
30 |
|
|
#ifdef KPP_SMOOTH_DENS |
31 |
|
|
# define KPP_SMOOTH_DBLOC |
32 |
|
|
#endif |
33 |
|
|
|
34 |
|
|
C o When set, smooth vertical viscosity horizontally |
35 |
|
|
#undef KPP_SMOOTH_VISC |
36 |
|
|
|
37 |
|
|
C o When set, smooth vertical diffusivity horizontally |
38 |
|
|
#undef KPP_SMOOTH_DIFF |
39 |
|
|
|
40 |
|
|
C o Get rid of vertical resolution dependence of dVsq term by |
41 |
|
|
C estimating a surface velocity that is independent of first |
42 |
|
|
C level thickness in the model. |
43 |
|
|
#undef KPP_ESTIMATE_UREF |
44 |
|
|
|
45 |
|
|
C o Include/exclude KPP non/local transport terms |
46 |
|
|
#define KPP_GHAT |
47 |
|
|
|
48 |
heimbach |
1.4 |
C o Exclude Interior shear instability mixing |
49 |
|
|
#undef EXCLUDE_KPP_SHEAR_MIX |
50 |
|
|
|
51 |
|
|
C o Avoid as many as possible AD recomputations |
52 |
|
|
C usually not necessary, but useful for testing |
53 |
|
|
#undef KPP_AUTODIFF_EXCESSIVE_STORE |
54 |
heimbach |
1.2 |
|
55 |
|
|
#endif /* ALLOW_KPP */ |
56 |
|
|
#endif /* KPP_OPTIONS_H */ |
57 |
|
|
|