Back to home page

MITgcm

 
 

    


File indexing completed on 2023-12-14 06:11:36 UTC

view on githubraw file Latest commit 9af873c5 on 2023-12-13 16:30:10 UTC
9293d3c672 Hajo*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     *=============================================================*
                0008 
                0009 #ifndef GGL90_OPTIONS_H
                0010 #define GGL90_OPTIONS_H
                0011 #include "PACKAGES_CONFIG.h"
                0012 #include "CPP_OPTIONS.h"
                0013 
                0014 #ifdef ALLOW_GGL90
                0015 C     Package-specific Options & Macros go here
                0016 
                0017 C     Enable horizontal diffusion of TKE.
                0018 #undef ALLOW_GGL90_HORIZDIFF
                0019 
                0020 C     Use horizontal averaging for viscosity and diffusivity as
                0021 C     originally implemented in OPA.
                0022 #undef ALLOW_GGL90_SMOOTH
                0023 
                0024 C     allow IDEMIX model
                0025 #undef ALLOW_GGL90_IDEMIX
9af873c532 Hajo*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
9293d3c672 Hajo*0031 
                0032 C     include Langmuir circulation parameterization
                0033 #define ALLOW_GGL90_LANGMUIR
                0034 
9af873c532 Hajo*0035 C     Replace MAX(mxl,mxlMin) by SQRT(mxl**2+mxlMin**2) to help adjoint
                0036 #define GGL90_REGULARIZE_MIXINGLENGTH
                0037 
                0038 C     recover old bug prior to Jun 2023
                0039 #undef GGL90_MISSING_HFAC_BUG
                0040 
9293d3c672 Hajo*0041 #endif /* ALLOW_GGL90 */
                0042 #endif /* GGL90_OPTIONS_H */