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

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

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


Revision 1.1 - (hide annotations) (download)
Wed Oct 14 19:53:38 2009 UTC (14 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint62, checkpoint63, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61z, checkpoint61x, checkpoint61y
apply zonal filter to all passive tracers

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

  ViewVC Help
Powered by ViewVC 1.1.22