Back to home page

MITgcm

 
 

    


File indexing completed on 2023-08-29 05:10:29 UTC

view on githubraw file Latest commit b038e3cc on 2023-08-28 16:15:16 UTC
d6c8672c92 Jean*0001 C     *=============================================================*
                0002 C     | GGL90_OPTIONS.h
                0003 C     | o CPP options file for GGL90 package.
                0004 C     *=============================================================*
                0005 C     | Use this file for selecting options within the GGL90
                0006 C     | package.
                0007 C     *=============================================================*
89474f9a5c Mart*0008 
                0009 #ifndef GGL90_OPTIONS_H
                0010 #define GGL90_OPTIONS_H
                0011 #include "PACKAGES_CONFIG.h"
d6c8672c92 Jean*0012 #include "CPP_OPTIONS.h"
89474f9a5c Mart*0013 
                0014 #ifdef ALLOW_GGL90
d6c8672c92 Jean*0015 C     Package-specific Options & Macros go here
89474f9a5c Mart*0016 
37a95f6b42 Davi*0017 C     Enable horizontal diffusion of TKE.
004d5ee949 Davi*0018 #undef ALLOW_GGL90_HORIZDIFF
                0019 
d6c8672c92 Jean*0020 C     Use horizontal averaging for viscosity and diffusivity as
37a95f6b42 Davi*0021 C     originally implemented in OPA.
004d5ee949 Davi*0022 #undef ALLOW_GGL90_SMOOTH
76f580e1f0 Mart*0023 
31a3206180 Mart*0024 C     allow IDEMIX model
                0025 #undef ALLOW_GGL90_IDEMIX
5b0716a6b3 Mart*0026 #ifdef ALLOW_GGL90_IDEMIX
                0027 C     The cvmix version of idemix uses different regularisations for the
                0028 C     Coriolis parameter, buoyancy frequency etc, when used in the denominator
                0029 # define GGL90_IDEMIX_CVMIX_VERSION
                0030 #endif
31a3206180 Mart*0031 
9293d3c672 Hajo*0032 C     include Langmuir circulation parameterization
                0033 #undef ALLOW_GGL90_LANGMUIR
                0034 
b038e3cc4f Mart*0035 C     Replace MAX(mxl,mxlMin) by SQRT(mxl**2+mxlMin**2) to help adjoint
                0036 #undef GGL90_REGULARIZE_MIXINGLENGTH
                0037 
5b0716a6b3 Mart*0038 C     recover old bug prior to Jun 2023
                0039 #undef GGL90_MISSING_HFAC_BUG
                0040 
89474f9a5c Mart*0041 #endif /* ALLOW_GGL90 */
                0042 #endif /* GGL90_OPTIONS_H */