@@ -65,6 +65,8 @@ subroutine geomcomplex(epsi, nxi, nxf, ny, nyi, nyf, nzi, nzf, dx, yp, dz, remp)
6565 REAL (mytype),DIMENSION (ny) :: yp
6666 REAL (mytype) :: remp
6767
68+ epsi = 0._mytype
69+
6870 IF (itype.EQ. itype_cyl) THEN
6971
7072 CALL geomcomplex_cyl(epsi, nxi, nxf, ny, nyi, nyf, nzi, nzf, dx, yp, remp)
@@ -159,7 +161,6 @@ subroutine gene_epsi_3D(ep1,nx,ny,nz,dx,dy,dz,xlx,yly,zlz ,&
159161 use var, only : ta2, ta3
160162 use decomp_2d
161163 use MPI
162- use complex_geometry, only: xepsi, yepsi, zepsi
163164 implicit none
164165 !
165166 real (mytype),dimension (xsize(1 ),xsize(2 ),xsize(3 )), intent (inout ):: ep1
@@ -184,9 +185,9 @@ subroutine gene_epsi_3D(ep1,nx,ny,nz,dx,dy,dz,xlx,yly,zlz ,&
184185 integer , dimension (xsize(2 ),xsize(3 )) :: nobjxraf
185186 integer , dimension (ysize(1 ),ysize(3 )) :: nobjyraf
186187 integer , dimension (zsize(1 ),zsize(2 )) :: nobjzraf
187- ! real(mytype),dimension(nxraf,xsize(2),xsize(3)) :: xepsi
188- ! real(mytype),dimension(ysize(1) ,nyraf,ysize(3)) :: yepsi
189- ! real(mytype),dimension(zsize(1),zsize(2) ,nzraf) :: zepsi
188+ real (mytype),dimension (nxraf,1 , 1 ) :: xepsi
189+ real (mytype),dimension (1 ,nyraf,1 ) :: yepsi
190+ real (mytype),dimension (1 , 1 ,nzraf) :: zepsi
190191 real (mytype),dimension (nyraf) :: ypraf
191192 real (mytype) :: dxraf,dyraf,dzraf
192193 integer :: i,j,k
0 commit comments