|
C $Header$ |
|
|
C $Name$ |
|
1 |
C /==========================================================\ |
C /==========================================================\ |
2 |
C | KPP_OPTIONS.h | |
C | KPP_OPTIONS.h | |
3 |
C | o CPP options file for KPP package. | |
C | o CPP options file for KPP package. | |
4 |
C |==========================================================| |
C |==========================================================| |
5 |
C | Use this file for selecting options within the KPP | |
C | Use this file for selecting options within the KPP | |
6 |
C | package. | |
C | package. KPP is enabled with ALLOW_KPP in CPP_OPTIONS.h | |
7 |
C \==========================================================/ |
C \==========================================================/ |
8 |
|
|
9 |
#ifndef KPP_OPTIONS_H |
#ifndef KPP_OPTIONS_H |
10 |
#define KPP_OPTIONS_H |
#define KPP_OPTIONS_H |
11 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
|
#include "AD_CONFIG.h" |
|
12 |
|
|
13 |
#ifdef ALLOW_KPP |
#ifdef ALLOW_KPP |
14 |
|
|
47 |
C o When set, smooth vertical diffusivity horizontally |
C o When set, smooth vertical diffusivity horizontally |
48 |
#undef KPP_SMOOTH_DIFF |
#undef KPP_SMOOTH_DIFF |
49 |
|
|
|
C o Switch on vertical smoothing, the number of sweeps is set in the namelist |
|
|
#undef ALLOW_KPP_VERTICALLY_SMOOTH |
|
|
|
|
50 |
C o Get rid of vertical resolution dependence of dVsq term by |
C o Get rid of vertical resolution dependence of dVsq term by |
51 |
C estimating a surface velocity that is independent of first |
C estimating a surface velocity that is independent of first |
52 |
C level thickness in the model. |
C level thickness in the model. |
54 |
|
|
55 |
C o Include/exclude various time-averaged diagnostic output |
C o Include/exclude various time-averaged diagnostic output |
56 |
C for saving storage space |
C for saving storage space |
57 |
#ifdef ALLOW_TIMEAVE |
#ifdef INCLUDE_DIAGNOSTICS_INTERFACE_CODE |
58 |
#define INCLUDE_DIAGNOSTICS_KPP |
#define INCLUDE_DIAGNOSTICS_KPP |
59 |
#undef INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE |
#undef INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE |
60 |
#endif |
#endif |
62 |
C o Include/exclude KPP non/local transport terms |
C o Include/exclude KPP non/local transport terms |
63 |
#define KPP_GHAT |
#define KPP_GHAT |
64 |
|
|
65 |
|
C o Exclude Interior shear instability mixing |
66 |
|
#undef EXCLUDE_KPP_SHEAR_MIX |
67 |
|
|
68 |
|
C o Avoid as many as possible AD recomputations |
69 |
|
C usually not necessary, but useful for testing |
70 |
|
#undef KPP_AUTODIFF_EXCESSIVE_STORE |
71 |
|
|
72 |
#endif /* ALLOW_KPP */ |
#endif /* ALLOW_KPP */ |
73 |
#endif /* KPP_OPTIONS_H */ |
#endif /* KPP_OPTIONS_H */ |
74 |
|
|