/[MITgcm]/MITgcm/pkg/ptracers/ptracers_zonal_filt_apply.F
ViewVC logotype

Contents of /MITgcm/pkg/ptracers/ptracers_zonal_filt_apply.F

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


Revision 1.2 - (show annotations) (download)
Thu Mar 8 17:13:31 2012 UTC (12 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63k, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.1: +9 -10 lines
-only step forward tracer if PTRACERS_StepFwd(iTr)=T

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_zonal_filt_apply.F,v 1.1 2009/10/14 19:53:38 jmc Exp $
2 C $Name: $
3
4 #include "PTRACERS_OPTIONS.h"
5
6 CBOP 0
7 C !ROUTINE: PTRACERS_ZONAL_FILT_APPLY
8
9 C !INTERFACE:
10 SUBROUTINE PTRACERS_ZONAL_FILT_APPLY(
11 I myThid )
12
13 C !DESCRIPTION:
14 C *==========================================================*
15 C | S/R PTRACERS_ZONAL_FILT_APPLY
16 C | o Apply FFT filter to all passive tracers
17 C *==========================================================*
18
19 C !USES:
20 IMPLICIT NONE
21 C == Global data ==
22 #include "SIZE.h"
23 #include "EEPARAMS.h"
24 #include "PARAMS.h"
25 #include "GRID.h"
26 #include "PTRACERS_SIZE.h"
27 #include "PTRACERS_PARAMS.h"
28 #include "PTRACERS_START.h"
29 #include "PTRACERS_FIELDS.h"
30
31 C !INPUT/OUTPUT PARAMETERS:
32 C myThid :: my Thread Id number
33 INTEGER myThid
34 CEOP
35
36 #ifdef ALLOW_ZONAL_FILT
37
38 C !LOCAL VARIABLES:
39 INTEGER iTr
40 INTEGER bi,bj
41
42 DO iTr = 1,PTRACERS_numInUse
43 IF ( PTRACERS_StepFwd(iTr) ) THEN
44
45 DO bj=myByLo(myThid),myByHi(myThid)
46 DO bi=myBxLo(myThid),myBxHi(myThid)
47 CALL ZONAL_FILTER(
48 U pTracer(1-OLx,1-OLy,1,bi,bj,iTr),
49 I hFacC(1-OLx,1-OLy,1,bi,bj),
50 I 1, sNy, Nr, bi, bj, 1, myThid )
51 ENDDO
52 ENDDO
53
54 ENDIF
55 ENDDO
56
57 #endif /* ALLOW_ZONAL_FILT */
58
59 RETURN
60 END

  ViewVC Help
Powered by ViewVC 1.1.22