13 |
|
|
14 |
cgf the choices of smooth3Dtype and smooth3Dsize need comments... |
cgf the choices of smooth3Dtype and smooth3Dsize need comments... |
15 |
cgf |
cgf |
16 |
cgf smooth3DtypeH= 1) HORIZONTAL ALONG GRID AXIS |
cgf smooth3DtypeH= 1) HORIZONTAL ALONG GRID AXIS |
17 |
cgf 2-3) GMREDI TYPES |
cgf 2-3) GMREDI TYPES |
18 |
cgf 4) HORIZONTAL BUT WITH ROTATED AXIS |
cgf 4) HORIZONTAL BUT WITH ROTATED AXIS |
19 |
cgf for now I focus on the simpler smooth3DtypeH=1 case |
cgf for now I focus on the simpler smooth3DtypeH=1 case |
20 |
|
|
21 |
|
|
92 |
if (smooth3DsizeZ(smoothOpNb).NE.3) then |
if (smooth3DsizeZ(smoothOpNb).NE.3) then |
93 |
DO bj=jtlo,jthi |
DO bj=jtlo,jthi |
94 |
DO bi=itlo,ithi |
DO bi=itlo,ithi |
95 |
DO k=1,Nr |
DO k=1,Nr |
96 |
DO j=1-OLy,sNy+OLy |
DO j=1-OLy,sNy+OLy |
97 |
DO i=1-OLx,sNx+OLx |
DO i=1-OLx,sNx+OLx |
98 |
|
|
99 |
smooth3D_KzMax=drC(k) |
smooth3D_KzMax=drC(k) |
100 |
smooth3D_KzMax=smooth3D_KzMax*smooth3D_KzMax/smooth3DtotTime/2 |
smooth3D_KzMax=smooth3D_KzMax*smooth3D_KzMax/smooth3DtotTime/2 |
101 |
if (smooth3D_kappaR(i,j,k,bi,bj).GT.smooth3D_KzMax) then |
if (smooth3D_kappaR(i,j,k,bi,bj).GT.smooth3D_KzMax) then |
102 |
smooth3D_kappaR(i,j,k,bi,bj)=smooth3D_KzMax |
smooth3D_kappaR(i,j,k,bi,bj)=smooth3D_KzMax |
103 |
endif |
endif |
104 |
ENDDO |
ENDDO |
105 |
ENDDO |
ENDDO |
200 |
& nR,smooth3D_kappaR,10,1,mythid) |
& nR,smooth3D_kappaR,10,1,mythid) |
201 |
|
|
202 |
|
|
203 |
END |
END |