/[MITgcm]/MITgcm/pkg/smooth/smooth_init_fixed.F
ViewVC logotype

Contents of /MITgcm/pkg/smooth/smooth_init_fixed.F

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


Revision 1.5 - (show annotations) (download)
Tue Apr 1 08:05:37 2014 UTC (11 years, 9 months ago) by atn
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64w, checkpoint64v, 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.4: +1 -4 lines
o move smooth2Ddiffnbt param from pkg/smooth to pkg/ecco

1 C $Header: /u/gcmpack/MITgcm/pkg/smooth/smooth_init_fixed.F,v 1.4 2014/01/25 16:03:56 atn Exp $
2 C $Name: $
3
4 #include "SMOOTH_OPTIONS.h"
5
6 subroutine smooth_init_fixed (mythid)
7
8 C *==========================================================*
9 C | SUBROUTINE smooth_init_fixed
10 C | o Routine that initializes smoothing/correlation operators
11 C *==========================================================*
12
13 IMPLICIT NONE
14 #include "SIZE.h"
15 #include "EEPARAMS.h"
16 #include "PARAMS.h"
17 #include "GRID.h"
18 #include "SMOOTH.h"
19
20 integer myThid
21 integer ikey_bak
22 integer smoothOpNb
23
24 integer i,j,k, bi, bj, imin, imax, jmin, jmax
25 integer itlo,ithi
26 integer jtlo,jthi
27
28 jtlo = mybylo(mythid)
29 jthi = mybyhi(mythid)
30 itlo = mybxlo(mythid)
31 ithi = mybxhi(mythid)
32
33 DO bj=jtlo,jthi
34 DO bi=itlo,ithi
35 DO k=1,Nr
36 DO j=1-OLy,sNy+OLy
37 DO i=1-OLx,sNx+OLx
38 smooth_recip_hFacC(i,j,k,bi,bj)=_recip_hFacC(i,j,k,bi,bj)
39 smooth_hFacW(i,j,k,bi,bj)=_hFacW(i,j,k,bi,bj)
40 smooth_hFacS(i,j,k,bi,bj)=_hFacS(i,j,k,bi,bj)
41 ENDDO
42 ENDDO
43 ENDDO
44 ENDDO
45 ENDDO
46
47 DO smoothOpNb=1,smoothOpNbMax
48 if (smooth2Dtype(smoothOpNb).NE.0) then
49 call smooth_init2D(smoothOpNb,mythid)
50 endif
51 ENDDO
52
53 DO smoothOpNb=1,smoothOpNbMax
54 if (smooth2Dtype(smoothOpNb).NE.0) then
55 call smooth_filtervar2D(smoothOpNb,mythid)
56 endif
57 ENDDO
58
59 DO smoothOpNb=1,smoothOpNbMax
60 if ((smooth3DtypeZ(smoothOpNb).NE.0).OR.
61 & (smooth3DtypeH(smoothOpNb).NE.0)) then
62 call smooth_init3D(smoothOpNb,mythid)
63 endif
64 ENDDO
65
66 DO smoothOpNb=1,smoothOpNbMax
67 if ((smooth3DtypeZ(smoothOpNb).NE.0).OR.
68 & (smooth3DtypeH(smoothOpNb).NE.0)) then
69 call smooth_filtervar3D(smoothOpNb,mythid)
70 endif
71 ENDDO
72
73 END
74
75

  ViewVC Help
Powered by ViewVC 1.1.22