/[MITgcm]/MITgcm/verification/aim.5l_cs/code/SHAP_FILT_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/aim.5l_cs/code/SHAP_FILT_OPTIONS.h

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

revision 1.2 by jmc, Thu Sep 27 15:49:45 2001 UTC revision 1.3 by jmc, Sat Feb 12 23:11:40 2005 UTC
# Line 3  C $Name$ Line 3  C $Name$
3    
4  C Header file for package pkg/shap_filt  C Header file for package pkg/shap_filt
5    
6    #ifndef SHAP_FILT_OPTIONS_H
7    #define SHAP_FILT_OPTIONS_H
8    #include "PACKAGES_CONFIG.h"
9    #ifdef ALLOW_SHAP_FILT
10    
11  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
12    
13  C Use [1-d_yy^n)(1-d_xx^n] instead of [1-d_xx^n-d_yy^n]  C Use [1-d_yy^n)(1-d_xx^n] instead of [1-d_xx^n-d_yy^n]
# Line 10  C This changes the spectral response fun Line 15  C This changes the spectral response fun
15  C You need to do some analysis before changing this option. ;^)  C You need to do some analysis before changing this option. ;^)
16  #define SEQUENTIAL_2D_SHAP  #define SEQUENTIAL_2D_SHAP
17    
 C Boundary conditions for U,V Shapiro code  
 C Horizontal shear is calculated as if the boundaries are no-slip  
 #define NO_SLIP_SHAP  
   
18  C This invokes the older code which produces the same numbers  C This invokes the older code which produces the same numbers
19  C and might even be faster because it does not do multiple  C and might even be faster because it does not do multiple
20  C exchanges within the filter. However, this requires the  C exchanges within the filter. However, this requires the
# Line 21  C overlap to be sufficiently wide and al Line 22  C overlap to be sufficiently wide and al
22  C for arbitrarily arranged tiles (ie. as in cubed-sphere).  C for arbitrarily arranged tiles (ie. as in cubed-sphere).
23  C *DO NOT USE THIS OPTION UNLESS YOU REALLY WANT TO*  :-(  C *DO NOT USE THIS OPTION UNLESS YOU REALLY WANT TO*  :-(
24  #undef  USE_OLD_SHAPIRO_FILTERS  #undef  USE_OLD_SHAPIRO_FILTERS
25    
26    #ifdef USE_OLD_SHAPIRO_FILTERS
27    C Boundary conditions for U,V Shapiro code
28    C Horizontal shear is calculated as if the boundaries are no-slip
29    C Note: option NO_SLIP_SHAP only used in OLD_SHAPIRO_FILTERS ;
30    C   it is replaced by parameter "Shap_noSlip=1." in new S/R.
31    #undef  NO_SLIP_SHAP
32    #endif
33    
34    C Masking of vorticity in dissipation terms (and Shap-Filt)
35    C  can be different from the masking applied for momentum advection;
36    C This option allows to use the local S/R: SHAP_FILT_RELVORT3 to
37    C compute vorticity, instead of pkg/mom_common S/R: MOM_CALC_RELVORT3
38    #define USE_SHAP_CALC_VORTICITY
39    
40    #endif /* ALLOW_SHAP_FILT */
41    #endif /* SHAP_FILT_OPTIONS_H */

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

  ViewVC Help
Powered by ViewVC 1.1.22