42 parameter( n_tri = 7*ltotd )
43 common /scrns/ tri(n_tri)
46 common /screv/ x(2*ltotd)
47 common /scrvh/ y(2*ltotd)
48 common /scrch/ z(2*ltotd)
50 common /ctmp0/ nv_to_t(2*ltotd)
52 parameter(lia = ltotd - 2 - 2*lelt)
53 common /scrcg/ ntri(lelt+1),nmask(lelt+1)
56 common /scruz/ color(4*ltotd)
57 common /scrmg/ ddmask(4*ltotd)
58 common /ctmp1/ mask(4*ltotd)
60 parameter(lxx=lx1*lx1, levb=lelv+lbelv)
61 common /fastd/ df(lx1*ly1*lz1,levb)
62 $ , sr(lxx*2,levb),ss(lxx*2,levb),st(lxx*2,levb)
67 if (lx1.eq.2) param(43)=1.
68 if (lx1.eq.2.and.nid.eq.0)
write(6,*)
'No mgrid for lx1=2!'
70 if (ifaxis) ifmgrid = .false.
71 if (param(43).ne.0) ifmgrid = .false.
78 if (ifsplit.and.ifmgrid)
then
80 if (ipass.gt.1) ifield = ifldmhd
88 elseif (.not.ifsplit)
then
90 if (ipass.gt.1) ifield = ifldmhd
92 if (param(44).eq.1)
then
99 if (ifield.gt.1) e = nelv+1
102 call gen_fast(df(1,e),sr(1,e),ss(1,e),st(1,e),x,y,z)
123 if (n_req.gt.n_avail)
then
124 write(6,9) nid,n_req,n_avail,nid,signal
125 9
format(i7,
' ERROR: requested array space (',i12
126 $ ,
') exceeds allocated amount (',i12,
').'
127 $ ,/,i12,
' ABORTING.',3x,a11
128 $ ,/,i12,
' ABORTING.',3x,
'from overflow_ck call.')
135 integer b(1),ind(1),temp(1)
155 real x(lx1,ly1,lz1,1),y(lx1,ly1,lz1,1),z(lx1,ly1,lz1,1)
156 real p(lx1,ly1,lz1,1)
159 common /ctmp0/ w1(lx1,ly1),w2(lx1,ly1)
188 x(ix+1,iy+1,iz+iz1,ie) = xm2(ix,iy,iz,ie)
189 y(ix+1,iy+1,iz+iz1,ie) = ym2(ix,iy,iz,ie)
190 z(ix+1,iy+1,iz+iz1,ie) = zm2(ix,iy,iz,ie)
215 if (if3d)
scale = 0.25
221 if (if3d)
call faces(z,
scale,ce,cf,lx1,ly1,lz1)
223 call fgslib_gs_op_many(gsh_fld(ifield), x,y,z,x,x,x,ldim, 1,1,0)
253 real x2(lx1*ly1*lz1,1)
254 real x1(lx1*ly1*lz1,1)
292 CALL facind (kx1,kx2,ky1,ky2,kz1,kz2,lx1,ly1,lz1,iface)
306 call mxm(i12 ,lx2,w1,lx1,w2,lx1)
307 call mxm(w2,lx2,i12t,lx1,w1,lx2)
309 call mxm(i12 ,lx2,w1,lx1,w2, 1)
315 kx1=min(kx1+1,lx1,kx2)
316 kx2=max(kx2-1, 1,kx1)
317 ky1=min(ky1+1,ly1,ky2)
318 ky2=max(ky2-1, 1,ky1)
319 kz1=min(kz1+1,lz1,kz2)
320 kz2=max(kz2-1, 1,kz1)
340 real x(lx1,ly1,lz1,1)
348 x(ix,1 ,iz,ie)=abs(x(ix,1 ,iz,ie) - x(ix,2 ,iz,ie))
349 x(ix,ly1,iz,ie)=abs(x(ix,ly1,iz,ie) - x(ix,ly1-1,iz,ie))
355 x(1 ,iy,iz,ie)=abs(x(1 ,iy,iz,ie) - x(2 ,iy,iz,ie))
356 x(lx1,iy,iz,ie)=abs(x(lx1,iy,iz,ie) - x(lx1-1,iy,iz,ie))
362 x(ix,iy,1 ,ie)=abs(x(ix,iy,1 ,ie) - x(ix,iy,2 ,ie))
363 x(ix,iy,lz1,ie)=abs(x(ix,iy,lz1,ie) - x(ix,iy,lz1-1,ie))
372 x(ix,1 ,1,ie)=abs(x(ix,1 ,1,ie) - x(ix,2 ,1,ie))
373 x(ix,ly1,1,ie)=abs(x(ix,ly1,1,ie) - x(ix,ly1-1,1,ie))
376 x(1 ,iy,1,ie)=abs(x(1 ,iy,1,ie) - x(2 ,iy,1,ie))
377 x(lx1,iy,1,ie)=abs(x(lx1,iy,1,ie) - x(lx1-1,iy,1,ie))
385 subroutine faces(a,s,ie,iface,nx,ny,nz)
391 dimension a(nx,ny,nz,lelt)
392 CALL facind (kx1,kx2,ky1,ky2,kz1,kz2,nx,ny,nz,iface)
396 a(ix,iy,iz,ie)=s*a(ix,iy,iz,ie)
integer function mynode()
real *8 function dnekclock()
subroutine facind(kx1, kx2, ky1, ky2, kz1, kz2, nx, ny, nz, iface)
subroutine scale(xyzl, nl)
subroutine gen_fast_spacing(x, y, z)
subroutine gen_fast(df, sr, ss, st, x, y, z)
subroutine init_weight_op
subroutine mxm(a, n1, b, n2, c, n3)
subroutine iunswap(b, ind, n, temp)
subroutine map_face12(x2, x1, w1, w2)
subroutine set_fem_data_l2(nep, nd, no, x, y, z, p)
subroutine overflow_ck(n_req, n_avail, signal)
subroutine dface_add1sa(x)
subroutine faces(a, s, ie, iface, nx, ny, nz)
subroutine map_one_face12(x2, x1, iface, i12, i12t, w1, w2)