/[MITgcm]/MITgcm/pkg/shap_filt/SHAP_FILT_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/pkg/shap_filt/SHAP_FILT_OPTIONS.h

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


Revision 1.4 - (show annotations) (download)
Mon Mar 4 01:31:02 2002 UTC (22 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint47e_post, checkpoint46l_post, checkpoint46g_pre, checkpoint47c_post, checkpoint50c_post, checkpoint46f_post, checkpoint48e_post, checkpoint50c_pre, checkpoint44f_post, checkpoint46b_post, checkpoint48i_post, checkpoint46l_pre, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint50b_pre, checkpoint51f_post, checkpoint48b_post, checkpoint51d_post, checkpoint48c_pre, checkpoint47d_pre, checkpoint47a_post, checkpoint48d_pre, checkpoint51j_post, checkpoint47i_post, checkpoint47d_post, checkpoint46d_pre, checkpoint48d_post, checkpoint48f_post, checkpoint45d_post, checkpoint46j_pre, checkpoint44h_pre, checkpoint48h_post, checkpoint51b_pre, checkpoint46a_post, checkpoint47g_post, checkpoint46j_post, checkpoint51h_pre, checkpoint46k_post, checkpoint48a_post, checkpoint45a_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint47j_post, branch-exfmods-tag, checkpoint44g_post, branchpoint-genmake2, checkpoint46e_pre, checkpoint48c_post, checkpoint45b_post, checkpoint46b_pre, checkpoint51b_post, checkpoint51c_post, checkpoint46c_pre, checkpoint46, checkpoint47b_post, checkpoint46h_pre, checkpoint46m_post, checkpoint46a_pre, checkpoint50g_post, checkpoint45c_post, checkpoint44h_post, checkpoint46g_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51i_pre, checkpoint47f_post, checkpoint50e_post, checkpoint46i_post, checkpoint46c_post, checkpoint50d_pre, checkpoint46e_post, checkpoint51e_post, checkpoint47, checkpoint45, checkpoint48, checkpoint49, checkpoint46h_post, checkpoint51f_pre, checkpoint48g_post, checkpoint47h_post, checkpoint44f_pre, checkpoint51g_post, checkpoint46d_post, checkpoint50b_post, checkpoint51a_post
Branch point for: branch-exfmods-curt, branch-genmake2
Changes since 1.3: +11 -6 lines
File MIME type: text/plain
o parameter Shap_noSlip replace CPP option NO_SLIP_SHAP
o working arrays (in common block SHAP_FILT.h) become argument
  of Shap_filt S/R.  => Enable to filter 2D fields.

1 C $Header: /u/gcmpack/MITgcm/pkg/shap_filt/SHAP_FILT_OPTIONS.h,v 1.3 2001/02/04 14:38:50 cnh Exp $
2 C $Name: $
3
4 C Header file for package pkg/shap_filt
5
6 #include "CPP_OPTIONS.h"
7
8 C Use [1-d_yy^n)(1-d_xx^n] instead of [1-d_xx^n-d_yy^n]
9 C This changes the spectral response function dramatically.
10 C You need to do some analysis before changing this option. ;^)
11 #define SEQUENTIAL_2D_SHAP
12
13 C This invokes the older code which produces the same numbers
14 C and might even be faster because it does not do multiple
15 C exchanges within the filter. However, this requires the
16 C overlap to be sufficiently wide and also does not work
17 C for arbitrarily arranged tiles (ie. as in cubed-sphere).
18 C *DO NOT USE THIS OPTION UNLESS YOU REALLY WANT TO* :-(
19 #undef USE_OLD_SHAPIRO_FILTERS
20
21 #ifdef USE_OLD_SHAPIRO_FILTERS
22 C Boundary conditions for U,V Shapiro code
23 C Horizontal shear is calculated as if the boundaries are no-slip
24 C Note: option NO_SLIP_SHAP only used in OLD_SHAPIRO_FILTERS ;
25 C it is replaced by parameter "Shap_noSlip=1." in new S/R.
26 #undef NO_SLIP_SHAP
27 #endif
28

  ViewVC Help
Powered by ViewVC 1.1.22