/[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.9 - (hide annotations) (download)
Tue May 11 20:57:08 2004 UTC (20 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint54d_post, checkpoint54e_post, checkpoint55, checkpoint54, checkpoint54f_post, checkpoint55c_post, checkpoint53d_post, checkpoint54b_post, checkpoint54a_pre, checkpoint53c_post, checkpoint54a_post, checkpoint55b_post, checkpoint53a_post, checkpoint53g_post, checkpoint53f_post, checkpoint53b_pre, checkpoint55a_post, checkpoint53b_post, checkpoint53d_pre, checkpoint54c_post
Changes since 1.8: +10 -8 lines
File MIME type: text/plain
o Additional storing in an attempt to fix
  TAMC problem with adjoint of KPP code.
  (no success...)
  Identical code works fine with TAF.

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

  ViewVC Help
Powered by ViewVC 1.1.22