forked from altMITgcm/MITgcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KPP_OPTIONS.h
65 lines (49 loc) · 1.81 KB
/
KPP_OPTIONS.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
C $Header: /u/gcmpack/MITgcm/pkg/kpp/KPP_OPTIONS.h,v 1.18 2011/12/24 01:04:48 jmc Exp $
C $Name: $
C *==========================================================*
C | KPP_OPTIONS.h
C | o CPP options file for KPP package.
C *==========================================================*
C | Use this file for selecting options within the KPP
C | package.
C *==========================================================*
#ifndef KPP_OPTIONS_H
#define KPP_OPTIONS_H
#include "PACKAGES_CONFIG.h"
#include "CPP_OPTIONS.h"
#ifdef ALLOW_KPP
C Package-specific Options & Macros go here
C o When set, smooth shear horizontally with 121 filters
#define KPP_SMOOTH_SHSQ
#undef KPP_SMOOTH_DVSQ
C o When set, smooth dbloc KPP variable horizontally
#define KPP_SMOOTH_DBLOC
C o When set, smooth all KPP density variables horizontally
#undef KPP_SMOOTH_DENS
#ifdef KPP_SMOOTH_DENS
# define KPP_SMOOTH_DBLOC
#endif
C o When set, smooth vertical viscosity horizontally
#undef KPP_SMOOTH_VISC
C o When set, smooth vertical diffusivity horizontally
#undef KPP_SMOOTH_DIFF
C o Get rid of vertical resolution dependence of dVsq term by
C estimating a surface velocity that is independent of first
C level thickness in the model.
#undef KPP_ESTIMATE_UREF
C o Include/exclude KPP non/local transport terms
#define KPP_GHAT
C o Exclude Interior shear instability mixing
#undef EXCLUDE_KPP_SHEAR_MIX
C o Exclude double diffusive mixing in the interior
#undef EXCLUDE_KPP_DOUBLEDIFF
C o Avoid as many as possible AD recomputations
C usually not necessary, but useful for testing
#undef KPP_AUTODIFF_EXCESSIVE_STORE
C o Vertically smooth Ri (for interior shear mixing)
#undef ALLOW_KPP_VERTICALLY_SMOOTH
#endif /* ALLOW_KPP */
#endif /* KPP_OPTIONS_H */
CEH3 ;;; Local Variables: ***
CEH3 ;;; mode:fortran ***
CEH3 ;;; End: ***