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

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

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

revision 1.6 by jmc, Tue Mar 6 17:50:15 2001 UTC revision 1.13 by dimitri, Wed Apr 4 15:39:46 2007 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C $Name$  C $Name$
3    
4  C     /==========================================================\  C     /==========================================================\
5  C     | KPP_OPTIONS.h                                            |  C     | KPP_OPTIONS.h                                            |
6  C     | o CPP options file for KPP package.                      |  C     | o CPP options file for KPP package.                      |
# Line 8  C     | Use this file for selecting opti Line 9  C     | Use this file for selecting opti
9  C     | package.  KPP is enabled with ALLOW_KPP in CPP_OPTIONS.h |  C     | package.  KPP is enabled with ALLOW_KPP in CPP_OPTIONS.h |
10  C     \==========================================================/  C     \==========================================================/
11    
12    #ifndef KPP_OPTIONS_H
13    #define KPP_OPTIONS_H
14    #include "PACKAGES_CONFIG.h"
15    
16    #ifdef ALLOW_KPP
17    
18  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
19    
20  C o Set precision for KPP variables (Real*4 or Real*8)  C o Set precision for KPP variables (Real*4 or Real*8)
21  #define _KPP_RL Real*8  #define _KPP_RL Real*8
22    
 #ifdef ALLOW_KPP  
   
23  C o When set, use exchange calls rather than recomputation  C o When set, use exchange calls rather than recomputation
24  C   to obtain KPP parameters in overlap region.  This option  C   to obtain KPP parameters in overlap region.  This option
25  C   was added to reduce stack size requirements on the  C   was added to reduce stack size requirements on the
# Line 25  C   Exemplar or Origin 2000, wall clock Line 30  C   Exemplar or Origin 2000, wall clock
30  C   same whether FRUGAL_KPP is turned on or off.  C   same whether FRUGAL_KPP is turned on or off.
31  #undef FRUGAL_KPP  #undef FRUGAL_KPP
32    
33  C o When set, smooth zonal shear meridionally and  C o When set, smooth shear horizontally with 121 filters
 C   meridional shear zonally with 121 filters  
34  #define KPP_SMOOTH_SHSQ  #define KPP_SMOOTH_SHSQ
35  #undef KPP_SMOOTH_DVSQ  #undef KPP_SMOOTH_DVSQ
36    
# Line 45  C o When set, smooth vertical viscosity Line 49  C o When set, smooth vertical viscosity
49  C o When set, smooth vertical diffusivity horizontally  C o When set, smooth vertical diffusivity horizontally
50  #undef KPP_SMOOTH_DIFF  #undef KPP_SMOOTH_DIFF
51    
 C o Switch on vertical smoothing, the number of sweeps is set in the namelist  
 #undef ALLOW_KPP_VERTICALLY_SMOOTH  
   
52  C o Get rid of vertical resolution dependence of dVsq term by  C o Get rid of vertical resolution dependence of dVsq term by
53  C   estimating a surface velocity that is independent of first  C   estimating a surface velocity that is independent of first
54  C   level thickness in the model.  C   level thickness in the model.
55  #undef KPP_ESTIMATE_UREF  #undef KPP_ESTIMATE_UREF
56    
 C o Include/exclude various time-averaged diagnostic output  
 C   for saving storage space  
 #ifdef  ALLOW_TIMEAVE  
 #define INCLUDE_DIAGNOSTICS_KPP  
 #undef  INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE  
 #endif  
   
57  C o Include/exclude KPP non/local transport terms  C o Include/exclude KPP non/local transport terms
58  #define KPP_GHAT  #define KPP_GHAT
59    
60    C o Exclude Interior shear instability mixing
61    #undef EXCLUDE_KPP_SHEAR_MIX
62    
63    C o Avoid as many as possible AD recomputations
64    C   usually not necessary, but useful for testing
65    #undef KPP_AUTODIFF_EXCESSIVE_STORE
66    
67  #endif /* ALLOW_KPP */  #endif /* ALLOW_KPP */
68    #endif /* KPP_OPTIONS_H */
69    
70    
71    CEH3 ;;; Local Variables: ***
72    CEH3 ;;; mode:fortran ***
73    CEH3 ;;; End: ***

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22