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

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

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


Revision 1.5 - (show annotations) (download)
Mon Mar 4 01:31:02 2002 UTC (22 years, 3 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, checkpoint48b_post, checkpoint51d_post, checkpoint48c_pre, checkpoint47d_pre, checkpoint47a_post, checkpoint48d_pre, 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, checkpoint46k_post, checkpoint48a_post, checkpoint45a_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint47j_post, branch-exfmods-tag, checkpoint44g_post, 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, checkpoint47f_post, checkpoint50e_post, checkpoint46i_post, checkpoint46c_post, checkpoint50d_pre, checkpoint46e_post, checkpoint47, checkpoint45, checkpoint48, checkpoint49, checkpoint46h_post, checkpoint48g_post, checkpoint47h_post, checkpoint44f_pre, checkpoint46d_post, checkpoint50b_post, checkpoint51a_post
Branch point for: branch-exfmods-curt
Changes since 1.4: +14 -2 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.h,v 1.4 2001/12/11 14:31:59 jmc Exp $
2 C $Name: $
3
4 #ifdef ALLOW_SHAP_FILT
5
6 C- Package flag and logical parameters :
7 C shap_filt_uvStar :: filter applied to u*,v* (before SOLVE_FOR_P)
8 C shap_filt_TrStagg :: if using a Stager time-step, filter T,S before
9 C computing PhiHyd ;
10 C has no effect if syncr. time step is used
11
12 LOGICAL shap_filt_uvStar, shap_filt_TrStagg
13 COMMON /SHAP_FILT_PARM_L/
14 & shap_filt_uvStar, shap_filt_TrStagg
15
16 C- Shapiro Filter integer parameters :
17 C Shap_funct :: define which Shapiro Filter function is used
18 C = 1 (S1) : [1 - d_xx^n - d_yy^n]
19 C = 4 (S4) : [1 - d_xx^n][1- d_yy^n]
20 C = 2 (S2) : [1 - (d_xx+d_yy)^n]
21 C nShap_Tr,UV :: (total) power of the filter for Tracer, Velocity
22 C available only with Shap_funct=2 :
23 C combine filter in Physical space (power of nShap_Phys)
24 C and pure numerical filter (power nShap - nShap_Phys)
25
26 INTEGER Shap_funct, nShapT, nShapUV, nShapTrPhys, nShapUVPhys
27 COMMON /SHAP_FILT_PARM_I/
28 & Shap_funct, nShapT, nShapTrPhys, nShapUV, nShapUVPhys
29
30 C- Shapiro Filter (real) parameters
31 C Shap_Trtau :: Time scale for tracer filter
32 C Shap_TrLength :: Length scale for tracer filter
33 C Shap_uvtau :: Time scale for momentum filter
34 C Shap_TrLength :: Length scale for momentum filter
35 C Shap_noSlip :: No-slip parameter (=0 free sleep ; =1 No-slip)
36 _RL Shap_Trtau, Shap_TrLength
37 _RL Shap_uvtau, Shap_uvLength
38 _RL Shap_noSlip
39 COMMON /SHAP_FILT_PARAMS/
40 & Shap_Trtau, Shap_TrLength,
41 & Shap_uvtau, Shap_uvLength, Shap_noSlip
42
43 C- Shapiro Filter temporary working arrays :
44 _RL Shap_tmpFld1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
45 _RL Shap_tmpFld2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
46 COMMON /SHAP_FILT_WRK_FLD/
47 & Shap_tmpFld1, Shap_tmpFld2
48
49 #endif /* ALLOW_SHAP_FILT */

  ViewVC Help
Powered by ViewVC 1.1.22