/[MITgcm]/MITgcm/pkg/kpp/KPP_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/pkg/kpp/KPP_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.17 - (hide annotations) (download)
Fri Sep 18 11:40:22 2009 UTC (14 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62c, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63g, checkpoint62, checkpoint63, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint62b, checkpoint61v, checkpoint61w, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.16: +4 -1 lines
File MIME type: text/plain
add double diffusive contributions as a hack, turned off by default
for now, and the code can be excluded with a CPP-flag
EXCLUDE_KPP_DOUBLEDIFF just as EXCLUDE_KPP_SHEAR_MIX

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: ***

  ViewVC Help
Powered by ViewVC 1.1.22