| 1 |
dimitri |
1.1 |
C $Header: /u/gcmpack/MITgcm_contrib/llc_hires/llc_4320/code/KPP_OPTIONS.h,v 1.1 2014/01/10 16:00:09 dimitri Exp $ |
| 2 |
|
|
C $Name: $ |
| 3 |
|
|
|
| 4 |
|
|
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. |
| 10 |
|
|
C *==========================================================* |
| 11 |
|
|
|
| 12 |
|
|
#ifndef KPP_OPTIONS_H |
| 13 |
|
|
#define KPP_OPTIONS_H |
| 14 |
|
|
#include "PACKAGES_CONFIG.h" |
| 15 |
|
|
#include "CPP_OPTIONS.h" |
| 16 |
|
|
|
| 17 |
|
|
#ifdef ALLOW_KPP |
| 18 |
|
|
C Package-specific Options & Macros go here |
| 19 |
|
|
|
| 20 |
|
|
C o When set, smooth shear horizontally with 121 filters |
| 21 |
|
|
#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 |
|
|
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 |
|
|
|
| 44 |
|
|
C o Include/exclude KPP non/local transport terms |
| 45 |
|
|
#undef KPP_GHAT |
| 46 |
|
|
|
| 47 |
|
|
C o Exclude Interior shear instability mixing |
| 48 |
|
|
#undef EXCLUDE_KPP_SHEAR_MIX |
| 49 |
|
|
|
| 50 |
|
|
C o Exclude double diffusive mixing in the interior |
| 51 |
|
|
#undef EXCLUDE_KPP_DOUBLEDIFF |
| 52 |
|
|
|
| 53 |
|
|
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 |
|
|
C o Vertically smooth Ri (for interior shear mixing) |
| 58 |
|
|
#undef ALLOW_KPP_VERTICALLY_SMOOTH |
| 59 |
|
|
|
| 60 |
|
|
#endif /* ALLOW_KPP */ |
| 61 |
|
|
#endif /* KPP_OPTIONS_H */ |
| 62 |
|
|
|
| 63 |
|
|
CEH3 ;;; Local Variables: *** |
| 64 |
|
|
CEH3 ;;; mode:fortran *** |
| 65 |
|
|
CEH3 ;;; End: *** |