/[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.8 - (show annotations) (download)
Fri Oct 7 00:24:01 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint58b_post, checkpoint57y_post, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint59, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint62s, checkpoint58a_post, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint57z_post, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58t_post, checkpoint58m_post, checkpoint63g, checkpoint57v_post, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint58w_post, checkpoint57y_pre, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint58r_post, checkpoint58n_post, checkpoint65o, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpint57u_post, checkpoint58k_post, checkpoint62b, checkpoint58v_post, checkpoint64y, checkpoint64x, checkpoint58l_post, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint61f, checkpoint58g_post, checkpoint58x_post, checkpoint61n, checkpoint59j, checkpoint58h_post, checkpoint58j_post, checkpoint61q, checkpoint57w_post, checkpoint61e, checkpoint58i_post, checkpoint57x_post, checkpoint58c_post, checkpoint58u_post, checkpoint58s_post, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
Changes since 1.7: +13 -6 lines
File MIME type: text/plain
add new parameter (default=off) to always do exch at each del^2 calculation

1 C $Header: /u/gcmpack/MITgcm/pkg/shap_filt/SHAP_FILT.h,v 1.7 2004/06/26 01:15:30 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 Stagger time-step, filter T,S before
9 C computing PhiHyd ;
10 C has no effect if syncr. time step is used
11 C Shap_alwaysExchUV :: always call exch(U,V) nShapUV times
12 C Shap_alwaysExchTr :: always call exch(Tracer) nShapTr times
13 C Note :: those exchanges are part of the filtering itself and
14 C are not dealing with the validity of the output field
15 C in the overlap region.
16
17 LOGICAL shap_filt_uvStar, shap_filt_TrStagg
18 LOGICAL Shap_alwaysExchUV, Shap_alwaysExchTr
19 COMMON /SHAP_FILT_PARM_L/
20 & shap_filt_uvStar, shap_filt_TrStagg,
21 & Shap_alwaysExchUV, Shap_alwaysExchTr
22
23 C- Shapiro Filter integer parameters :
24 C Shap_funct :: define which Shapiro Filter function is used
25 C = 1 (S1) : [1 - d_xx^n - d_yy^n]
26 C = 4 (S4) : [1 - d_xx^n][1- d_yy^n]
27 C = 2 (S2) : [1 - (d_xx+d_yy)^n]
28 C nShap_T,S,UV :: (total) power of the filter for T,S, Velocity
29 C available only with Shap_funct=2 :
30 C combine filter in Physical space (power of nShap_Phys)
31 C and pure numerical filter (power nShap - nShap_Phys)
32
33 INTEGER Shap_funct, nShapT, nShapS, nShapUV
34 INTEGER nShapTrPhys, nShapUVPhys
35 COMMON /SHAP_FILT_PARM_I/
36 & Shap_funct, nShapT, nShapS, nShapTrPhys,
37 & nShapUV, nShapUVPhys
38
39 C- Shapiro Filter (real) parameters
40 C Shap_Trtau :: Time scale for tracer filter
41 C Shap_TrLength :: Length scale for tracer filter
42 C Shap_uvtau :: Time scale for momentum filter
43 C Shap_uvLength :: Length scale for momentum filter
44 C Shap_noSlip :: No-slip parameter (=0 free sleep ; =1 No-slip)
45 C Shap_diagFreq :: Frequency^-1 for diagnostic output (s)
46 _RL Shap_Trtau, Shap_TrLength
47 _RL Shap_uvtau, Shap_uvLength
48 _RL Shap_noSlip
49 _RL Shap_diagFreq
50 COMMON /SHAP_FILT_PARAMS/
51 & Shap_Trtau, Shap_TrLength,
52 & Shap_uvtau, Shap_uvLength, Shap_noSlip,
53 & Shap_diagFreq
54
55 C- Shapiro Filter temporary working arrays :
56 _RL Shap_tmpFld1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
57 _RL Shap_tmpFld2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
58 COMMON /SHAP_FILT_WRK_FLD/
59 & Shap_tmpFld1, Shap_tmpFld2
60
61 #endif /* ALLOW_SHAP_FILT */

  ViewVC Help
Powered by ViewVC 1.1.22