/[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.2 by heimbach, Tue Sep 12 18:13:48 2000 UTC revision 1.3 by heimbach, Mon Nov 13 16:37:02 2000 UTC
# Line 8  C     \================================= Line 8  C     \=================================
8    
9  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
10    
11  #ifdef ALLOW_KPP  C o Set precision for KPP variables (Real*4 or Real*8)
12    #define _KPP_RL Real*8
13    
14  C o Get rid of vertical resolution dependence of dVsq term by  #ifdef ALLOW_KPP
 C   estimating a surface velocity that is independent of first  
 C   level thickness in the model.  
 #undef KPP_ESTIMATE_UREF  
   
 C o When set, test denominators for small values  
 C   makes code adjoint-friendly by avoiding singularities in  
 C   the forward code and its derivative  
 #define KPP_TEST_DENOM  
15    
16  C o When set, use exchange calls rather than recomputation  C o When set, use exchange calls rather than recomputation
17  C   to obtain KPP parameters in overlap region.  This option  C   to obtain KPP parameters in overlap region.  This option
# Line 44  C o When set, smooth all KPP density var Line 37  C o When set, smooth all KPP density var
37  #  define KPP_SMOOTH_DBLOC  #  define KPP_SMOOTH_DBLOC
38  #endif  #endif
39    
 C o As coded KPP_SMOOTH_DBLOC and KPP_SMOOTH_DENS will not work  
 C   with FRUGAL_KPP switch turned on  
 #ifdef KPP_SMOOTH_DBLOC  
 #  undef FRUGAL_KPP  
 #endif  
   
40  C o When set, smooth vertical viscosity horizontally  C o When set, smooth vertical viscosity horizontally
 C   Right now this option only works with FRUGAL_KPP turned on  
41  #undef KPP_SMOOTH_VISC  #undef KPP_SMOOTH_VISC
 #ifdef KPP_SMOOTH_VISC  
 #undef KPP_SMOOTH_DBLOC  
 #undef KPP_SMOOTH_DENS  
 #define FRUGAL_KPP  
 #endif  
42    
43  C o When set, smooth vertical diffusivity horizontally  C o When set, smooth vertical diffusivity horizontally
 C   Right now this option only works with FRUGAL_KPP turned on  
44  #undef KPP_SMOOTH_DIFF  #undef KPP_SMOOTH_DIFF
 #ifdef KPP_SMOOTH_DIFF  
 #undef KPP_SMOOTH_DBLOC  
 #undef KPP_SMOOTH_DENS  
 #define FRUGAL_KPP  
 #endif  
45    
46    C o Get rid of vertical resolution dependence of dVsq term by
47    C   estimating a surface velocity that is independent of first
48    C   level thickness in the model.
49    #undef KPP_ESTIMATE_UREF
50    
51  C o Include/exclude various time-averaged diagnostic output  C o Include/exclude various time-averaged diagnostic output
52  C   for saving storage space  C   for saving storage space
53  #ifdef   INCLUDE_DIAGNOSTICS_INTERFACE_CODE  #ifdef  INCLUDE_DIAGNOSTICS_INTERFACE_CODE
54  #define INCLUDE_DIAGNOSTICS_KPP  #define INCLUDE_DIAGNOSTICS_KPP
55  #undef  INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE  #undef  INCLUDE_DIAGNOSTICS_KPPDIFFKZSTAVE
56  #endif  #endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22