| 1 |
dimitri |
1.2 |
C $Header: /usr/local/gcmpack/MITgcm_contrib/ocean_inversion_project/code/KPP_OPTIONS.h,v 1.1 2003/09/24 04:52:38 dimitri Exp $ |
| 2 |
dimitri |
1.1 |
C $Name: $ |
| 3 |
|
|
C /==========================================================\ |
| 4 |
|
|
C | KPP_OPTIONS.h | |
| 5 |
|
|
C | o CPP options file for KPP package. | |
| 6 |
|
|
C |==========================================================| |
| 7 |
|
|
C | Use this file for selecting options within the KPP | |
| 8 |
dimitri |
1.2 |
C | package. | |
| 9 |
dimitri |
1.1 |
C \==========================================================/ |
| 10 |
|
|
|
| 11 |
dimitri |
1.2 |
#ifndef KPP_OPTIONS_H |
| 12 |
|
|
#define KPP_OPTIONS_H |
| 13 |
|
|
#include "PACKAGES_CONFIG.h" |
| 14 |
|
|
#ifdef ALLOW_KPP |
| 15 |
|
|
|
| 16 |
dimitri |
1.1 |
#include "CPP_OPTIONS.h" |
| 17 |
|
|
|
| 18 |
|
|
C o Set precision for KPP variables (Real*4 or Real*8) |
| 19 |
|
|
#define _KPP_RL Real*8 |
| 20 |
|
|
|
| 21 |
|
|
C o When set, use exchange calls rather than recomputation |
| 22 |
|
|
C to obtain KPP parameters in overlap region. This option |
| 23 |
|
|
C was added to reduce stack size requirements on the |
| 24 |
|
|
C Origin 2000. It decreases memory and computation |
| 25 |
|
|
C requirements at the expense of increased communications. |
| 26 |
|
|
C For a 64-processor 360x224x46 MPI configuration on the |
| 27 |
|
|
C Exemplar or Origin 2000, wall clock time is about the |
| 28 |
|
|
C same whether FRUGAL_KPP is turned on or off. |
| 29 |
|
|
#define FRUGAL_KPP |
| 30 |
|
|
|
| 31 |
|
|
C o When set, smooth zonal shear meridionally and |
| 32 |
|
|
C meridional shear zonally with 121 filters |
| 33 |
|
|
#define KPP_SMOOTH_SHSQ |
| 34 |
|
|
#undef KPP_SMOOTH_DVSQ |
| 35 |
|
|
|
| 36 |
|
|
C o When set, smooth dbloc KPP variable horizontally |
| 37 |
|
|
#define KPP_SMOOTH_DBLOC |
| 38 |
|
|
|
| 39 |
|
|
C o When set, smooth all KPP density variables horizontally |
| 40 |
|
|
#undef KPP_SMOOTH_DENS |
| 41 |
|
|
#ifdef KPP_SMOOTH_DENS |
| 42 |
|
|
# define KPP_SMOOTH_DBLOC |
| 43 |
|
|
#endif |
| 44 |
|
|
|
| 45 |
|
|
C o When set, smooth vertical viscosity horizontally |
| 46 |
|
|
#undef KPP_SMOOTH_VISC |
| 47 |
|
|
|
| 48 |
|
|
C o When set, smooth vertical diffusivity horizontally |
| 49 |
|
|
#undef KPP_SMOOTH_DIFF |
| 50 |
|
|
|
| 51 |
|
|
C o Switch on vertical smoothing, the number of sweeps is set in the namelist |
| 52 |
|
|
#undef ALLOW_KPP_VERTICALLY_SMOOTH |
| 53 |
|
|
|
| 54 |
|
|
C o Get rid of vertical resolution dependence of dVsq term by |
| 55 |
|
|
C estimating a surface velocity that is independent of first |
| 56 |
|
|
C level thickness in the model. |
| 57 |
|
|
#undef KPP_ESTIMATE_UREF |
| 58 |
|
|
|
| 59 |
|
|
C o Include/exclude various time-averaged diagnostic output |
| 60 |
|
|
C for saving storage space |
| 61 |
|
|
#ifdef ALLOW_TIMEAVE |
| 62 |
|
|
#define INCLUDE_DIAGNOSTICS_KPP |
| 63 |
|
|
#undef INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE |
| 64 |
|
|
#endif |
| 65 |
|
|
|
| 66 |
|
|
C o Include/exclude KPP non/local transport terms |
| 67 |
|
|
#define KPP_GHAT |
| 68 |
|
|
|
| 69 |
|
|
#endif /* ALLOW_KPP */ |
| 70 |
dimitri |
1.2 |
#endif /* KPP_OPTIONS_H */ |