Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:45:18 UTC

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
a589927d63 Jean*0001 C CPP options file for pkg SHAP_FILT
54c5f75dec Jean*0002 
                0003 #ifndef SHAP_FILT_OPTIONS_H
                0004 #define SHAP_FILT_OPTIONS_H
                0005 #include "PACKAGES_CONFIG.h"
                0006 #include "CPP_OPTIONS.h"
                0007 
a589927d63 Jean*0008 #ifdef ALLOW_SHAP_FILT
                0009 C     Package-specific Options & Macros go here
                0010 
54c5f75dec Jean*0011 C Use [1-d_yy^n)(1-d_xx^n] instead of [1-d_xx^n-d_yy^n]
                0012 C This changes the spectral response function dramatically.
                0013 C You need to do some analysis before changing this option. ;^)
                0014 #define SEQUENTIAL_2D_SHAP
                0015 
                0016 C This invokes the older code which produces the same numbers
                0017 C and might even be faster because it does not do multiple
                0018 C exchanges within the filter. However, this requires the
                0019 C overlap to be sufficiently wide and also does not work
                0020 C for arbitrarily arranged tiles (ie. as in cubed-sphere).
                0021 C *DO NOT USE THIS OPTION UNLESS YOU REALLY WANT TO*  :-(
                0022 #undef  USE_OLD_SHAPIRO_FILTERS
                0023 
                0024 #ifdef USE_OLD_SHAPIRO_FILTERS
                0025 C Boundary conditions for U,V Shapiro code
                0026 C Horizontal shear is calculated as if the boundaries are no-slip
                0027 C Note: option NO_SLIP_SHAP only used in OLD_SHAPIRO_FILTERS ;
                0028 C   it is replaced by parameter "Shap_noSlip=1." in new S/R.
                0029 #undef  NO_SLIP_SHAP
                0030 #endif
                0031 
                0032 C Masking of vorticity in dissipation terms (and Shap-Filt)
                0033 C  can be different from the masking applied for momentum advection;
                0034 C This option allows to use the local S/R: SHAP_FILT_RELVORT3 to
                0035 C compute vorticity, instead of pkg/mom_common S/R: MOM_CALC_RELVORT3
                0036 #define USE_SHAP_CALC_VORTICITY
                0037 
                0038 #endif /* ALLOW_SHAP_FILT */
                0039 #endif /* SHAP_FILT_OPTIONS_H */