25 REAL TMP(LY1,LY1),TMPT(LY1,LY1)
35 CALL zwgll (zgm1(1,1),wxm1,lx1)
36 CALL zwgll (zgm1(1,2),wym1,ly1)
41 w3m1(ix,iy,1)=wxm1(ix)*wym1(iy)
46 CALL dgll (dxm1,dxtm1,zgm1(1,1),lx1,lx1)
47 CALL dgll (dym1,dytm1,zgm1(1,2),ly1,ly1)
48 CALL rzero (dzm1 ,lz1*lz1)
49 CALL rzero (dztm1,lz1*lz1)
55 CALL zwgll (zgm2(1,1),wxm2,lx2)
56 CALL zwgll (zgm2(1,2),wym2,ly2)
58 CALL zwgl (zgm2(1,1),wxm2,lx2)
59 CALL zwgl (zgm2(1,2),wym2,ly2)
65 w3m2(ix,iy,1)=wxm2(ix)*wym2(iy)
71 CALL zwgll (zgm3(1,1),wxm3,lx3)
72 CALL zwgll (zgm3(1,2),wym3,ly3)
77 w3m3(ix,iy,1)=wxm3(ix)*wym3(iy)
82 CALL dgll (dxm3,dxtm3,zgm3(1,1),lx3,lx3)
83 CALL dgll (dym3,dytm3,zgm3(1,2),ly3,ly3)
84 CALL rzero (dzm3 ,lz3*lz3)
85 CALL rzero (dztm3,lz3*lz3)
89 CALL igllm (ixm12,ixtm12,zgm1(1,1),zgm2(1,1),lx1,lx2,lx1,lx2)
90 CALL igllm (iym12,iytm12,zgm1(1,2),zgm2(1,2),ly1,ly2,ly1,ly2)
97 CALL igllm (ixm21,ixtm21,zgm1(1,1),zgm2(1,1),lx1,lx2,lx1,lx2)
98 CALL igllm (iym21,iytm21,zgm1(1,2),zgm2(1,2),ly1,ly2,ly1,ly2)
100 CALL iglm (ixm21,ixtm21,zgm2(1,1),zgm1(1,1),lx2,lx1,lx2,lx1)
101 CALL iglm (iym21,iytm21,zgm2(1,2),zgm1(1,2),ly2,ly1,ly2,ly1)
109 CALL copy (dxm12, dxm1, lx1*lx2)
110 CALL copy (dxtm12,dxtm1,lx1*lx2)
111 CALL copy (dym12, dym1, ly1*ly2)
112 CALL copy (dytm12,dytm1,ly1*ly2)
113 CALL copy (dzm12, dzm1, lz1*lz2)
114 CALL copy (dztm12,dztm1,lz1*lz2)
116 CALL dgllgl (dxm12,dxtm12,zgm1(1,1),zgm2(1,1),ixm12,
118 CALL dgllgl (dym12,dytm12,zgm1(1,2),zgm2(1,2),iym12,
126 CALL igllm (ixm13,ixtm13,zgm1(1,1),zgm3(1,1),lx1,lx3,lx1,lx3)
127 CALL igllm (iym13,iytm13,zgm1(1,2),zgm3(1,2),ly1,ly3,ly1,ly3)
128 CALL igllm (ixm31,ixtm31,zgm3(1,1),zgm1(1,1),lx3,lx1,lx3,lx1)
129 CALL igllm (iym31,iytm31,zgm3(1,2),zgm1(1,2),ly3,ly1,ly3,ly1)
148 CALL zwglj (zam1,wam1,ly1,alpha,beta)
151 w2am1(ix,iy)=wxm1(ix)*wam1(iy)
152 w2cm1(ix,iy)=wxm1(ix)*wym1(iy)
157 CALL copy (dcm1,dym1,ly1*ly1)
158 CALL copy (dctm1,dytm1,ly1*ly1)
159 CALL dglj (dam1,datm1,zam1,ly1,ly1,alpha,beta)
165 CALL zwglj (zam2,wam2,ly2,alpha,beta)
167 CALL zwgj (zam2,wam2,ly2,alpha,beta)
171 w2cm2(ix,iy)=wxm2(ix)*wym2(iy)
172 w2am2(ix,iy)=wxm2(ix)*wam2(iy)
178 CALL zwglj (zam3,wam3,ly3,alpha,beta)
181 w2cm3(ix,iy)=wxm3(ix)*wym3(iy)
182 w2am3(ix,iy)=wxm3(ix)*wam3(iy)
187 CALL copy (dcm3,dym3,ly3*ly3)
188 CALL copy (dctm3,dytm3,ly3*ly3)
189 CALL dglj (dam3,datm3,zam3,ly3,ly3,alpha,beta)
193 CALL copy (icm12,iym12,ly2*ly1)
194 CALL copy (ictm12,iytm12,ly1*ly2)
195 CALL igljm (iam12,iatm12,zam1,zam2,ly1,ly2,ly1,ly2,alpha,beta)
196 CALL copy (icm21,iym21,ly1*ly2)
197 CALL copy (ictm21,iytm21,ly2*ly1)
199 CALL igljm (iam21,iatm21,zam2,zam1,ly1,ly2,ly1,ly2,alpha,beta)
201 CALL igjm (iam21,iatm21,zam2,zam1,ly2,ly1,ly2,ly1,alpha,beta)
206 CALL copy (dcm12,dym12,ly2*ly1)
207 CALL copy (dctm12,dytm12,ly1*ly2)
209 CALL copy (dam12, dam1, ly1*ly2)
210 CALL copy (datm12,datm1,ly1*ly2)
212 CALL dgljgj (dam12,datm12,zam1,zam2,iam12,
213 $ ly1,ly2,ly1,ly2,alpha,beta)
218 CALL copy (icm13,iym13,ly3*ly1)
219 CALL copy (ictm13,iytm13,ly1*ly3)
220 CALL igljm (iam13,iatm13,zam1,zam3,ly1,ly3,ly1,ly3,alpha,beta)
221 CALL copy (icm31,iym31,ly1*ly3)
222 CALL copy (ictm31,iytm31,ly3*ly1)
223 CALL igljm (iam31,iatm31,zam3,zam1,ly3,ly1,ly3,ly1,alpha,beta)
228 CALL igljm(iajl1,iatjl1,zam1,zgm1(1,2),ly1,ly1,ly1,ly1,alpha,beta)
230 CALL igljm(iajl2,iatjl2,zam2,zgm2(1,2),ly2,ly2,ly2,ly2,alpha,beta)
232 CALL igjm (iajl2,iatjl2,zam2,zgm2(1,2),ly2,ly2,ly2,ly2,alpha,beta)
235 CALL invmt(iajl1 ,ialj1 ,tmp ,ly1)
236 CALL invmt(iatjl1,iatlj1,tmpt,ly1)
237 CALL mxm (iatjl1,ly1,iatlj1,ly1,tmpt,ly1)
238 CALL mxm (iajl1 ,ly1,ialj1 ,ly1,tmp ,ly1)
247 CALL igljm(ialj3,iatlj3,zgm3(1,2),zam3,ly3,ly3,ly3,ly3,alpha,beta)
260 CALL zwgll (zgm1(1,1),wxm1,lx1)
261 CALL zwgll (zgm1(1,2),wym1,ly1)
262 CALL zwgll (zgm1(1,3),wzm1,lz1)
266 w3m1(ix,iy,iz)=wxm1(ix)*wym1(iy)*wzm1(iz)
271 CALL dgll (dxm1,dxtm1,zgm1(1,1),lx1,lx1)
272 CALL dgll (dym1,dytm1,zgm1(1,2),ly1,ly1)
273 CALL dgll (dzm1,dztm1,zgm1(1,3),lz1,lz1)
279 CALL zwgll (zgm2(1,1),wxm2,lx2)
280 CALL zwgll (zgm2(1,2),wym2,ly2)
281 CALL zwgll (zgm2(1,3),wzm2,lz2)
283 CALL zwgl (zgm2(1,1),wxm2,lx2)
284 CALL zwgl (zgm2(1,2),wym2,ly2)
285 CALL zwgl (zgm2(1,3),wzm2,lz2)
290 w3m2(ix,iy,iz)=wxm2(ix)*wym2(iy)*wzm2(iz)
296 CALL zwgll (zgm3(1,1),wxm3,lx3)
297 CALL zwgll (zgm3(1,2),wym3,ly3)
298 CALL zwgll (zgm3(1,3),wzm3,lz3)
302 w3m3(ix,iy,iz)=wxm3(ix)*wym3(iy)*wzm3(iz)
307 CALL dgll (dxm3,dxtm3,zgm3(1,1),lx3,lx3)
308 CALL dgll (dym3,dytm3,zgm3(1,2),ly3,ly3)
309 CALL dgll (dzm3,dztm3,zgm3(1,3),lz3,lz3)
313 CALL igllm (ixm12,ixtm12,zgm1(1,1),zgm2(1,1),lx1,lx2,lx1,lx2)
314 CALL igllm (iym12,iytm12,zgm1(1,2),zgm2(1,2),ly1,ly2,ly1,ly2)
315 CALL igllm (izm12,iztm12,zgm1(1,3),zgm2(1,3),lz1,lz2,lz1,lz2)
320 CALL igllm (ixm21,ixtm21,zgm1(1,1),zgm2(1,1),lx1,lx2,lx1,lx2)
321 CALL igllm (iym21,iytm21,zgm1(1,2),zgm2(1,2),ly1,ly2,ly1,ly2)
322 CALL igllm (izm21,iztm21,zgm1(1,3),zgm2(1,3),lz1,lz2,lz1,lz2)
324 CALL iglm (ixm21,ixtm21,zgm2(1,1),zgm1(1,1),lx2,lx1,lx2,lx1)
325 CALL iglm (iym21,iytm21,zgm2(1,2),zgm1(1,2),ly2,ly1,ly2,ly1)
326 CALL iglm (izm21,iztm21,zgm2(1,3),zgm1(1,3),lz2,lz1,lz2,lz1)
332 CALL copy (dxm12, dxm1, lx1*lx2)
333 CALL copy (dxtm12,dxtm1,lx1*lx2)
334 CALL copy (dym12, dym1, ly1*ly2)
335 CALL copy (dytm12,dytm1,ly1*ly2)
336 CALL copy (dzm12, dzm1, lz1*lz2)
337 CALL copy (dztm12,dztm1,lz1*lz2)
339 CALL dgllgl (dxm12,dxtm12,zgm1(1,1),zgm2(1,1),ixm12,
341 CALL dgllgl (dym12,dytm12,zgm1(1,2),zgm2(1,2),iym12,
343 CALL dgllgl (dzm12,dztm12,zgm1(1,3),zgm2(1,3),izm12,
349 CALL igllm (ixm13,ixtm13,zgm1(1,1),zgm3(1,1),lx1,lx3,lx1,lx3)
350 CALL igllm (iym13,iytm13,zgm1(1,2),zgm3(1,2),ly1,ly3,ly1,ly3)
351 CALL igllm (izm13,iztm13,zgm1(1,3),zgm3(1,3),lz1,lz3,lz1,lz3)
352 CALL igllm (ixm31,ixtm31,zgm3(1,1),zgm1(1,1),lx3,lx1,lx3,lx1)
353 CALL igllm (iym31,iytm31,zgm3(1,2),zgm1(1,2),ly3,ly1,ly3,ly1)
354 CALL igllm (izm31,iztm31,zgm3(1,3),zgm1(1,3),lz3,lz1,lz3,lz1)
376 dimension xm3(lx3,ly3,lz3,1)
377 $ , ym3(lx3,ly3,lz3,1)
378 $ , zm3(lx3,ly3,lz3,1)
380 IF (ifgmsh3 .AND. istep.EQ.0)
THEN
411 COMMON /scrns/ xrm3(lx3,ly3,lz3,lelt)
412 $ , xsm3(lx3,ly3,lz3,lelt)
413 $ , xtm3(lx3,ly3,lz3,lelt)
414 $ , yrm3(lx3,ly3,lz3,lelt)
415 $ , ysm3(lx3,ly3,lz3,lelt)
416 $ , ytm3(lx3,ly3,lz3,lelt)
417 $ , zrm3(lx3,ly3,lz3,lelt)
418 COMMON /ctmp0/ zsm3(lx3,ly3,lz3,lelt)
419 $ , ztm3(lx3,ly3,lz3,lelt)
420 COMMON /ctmp1/ rxm3(lx3,ly3,lz3,lelt)
421 $ , rym3(lx3,ly3,lz3,lelt)
422 $ , rzm3(lx3,ly3,lz3,lelt)
423 $ , sxm3(lx3,ly3,lz3,lelt)
424 COMMON /scrmg/ sym3(lx3,ly3,lz3,lelt)
425 $ , szm3(lx3,ly3,lz3,lelt)
426 $ , txm3(lx3,ly3,lz3,lelt)
427 $ , tym3(lx3,ly3,lz3,lelt)
428 COMMON /screv/ tzm3(lx3,ly3,lz3,lelt)
429 $ , jacm3(lx3,ly3,lz3,lelt)
431 dimension xm3(lx3,ly3,lz3,1)
432 $ , ym3(lx3,ly3,lz3,1)
433 $ , zm3(lx3,ly3,lz3,1)
458 IF (ifrzer(iel))
THEN
459 CALL copy (dytm3,datm3,ly33)
461 CALL copy (dytm3,dctm3,ly33)
465 CALL mxm(dxm3,lx3,xm3(1,1,1,iel),lx3,xrm3(1,1,1,iel),ly3)
466 CALL mxm(dxm3,lx3,ym3(1,1,1,iel),lx3,yrm3(1,1,1,iel),ly3)
467 CALL mxm(xm3(1,1,1,iel),lx3,dytm3,ly3,xsm3(1,1,1,iel),ly3)
468 CALL mxm(ym3(1,1,1,iel),lx3,dytm3,ly3,ysm3(1,1,1,iel),ly3)
472 CALL rzero (jacm3,ntot3)
473 CALL addcol3 (jacm3,xrm3,ysm3,ntot3)
474 CALL subcol3 (jacm3,xsm3,yrm3,ntot3)
476 CALL copy (rxm3,ysm3,ntot3)
477 CALL copy (rym3,xsm3,ntot3)
479 CALL copy (sxm3,yrm3,ntot3)
481 CALL copy (sym3,xrm3,ntot3)
489 CALL mxm(dxm3,lx3,xm3(1,1,1,iel),lx3,xrm3(1,1,1,iel),nyz3)
490 CALL mxm(dxm3,lx3,ym3(1,1,1,iel),lx3,yrm3(1,1,1,iel),nyz3)
491 CALL mxm(dxm3,lx3,zm3(1,1,1,iel),lx3,zrm3(1,1,1,iel),nyz3)
494 CALL mxm(xm3(1,1,iz,iel),lx3,dytm3,ly3,xsm3(1,1,iz,iel),ly3)
495 CALL mxm(ym3(1,1,iz,iel),lx3,dytm3,ly3,ysm3(1,1,iz,iel),ly3)
496 CALL mxm(zm3(1,1,iz,iel),lx3,dytm3,ly3,zsm3(1,1,iz,iel),ly3)
499 CALL mxm(xm3(1,1,1,iel),nxy3,dztm3,lz3,xtm3(1,1,1,iel),lz3)
500 CALL mxm(ym3(1,1,1,iel),nxy3,dztm3,lz3,ytm3(1,1,1,iel),lz3)
501 CALL mxm(zm3(1,1,1,iel),nxy3,dztm3,lz3,ztm3(1,1,1,iel),lz3)
505 CALL rzero (jacm3,ntot3)
506 CALL addcol4 (jacm3,xrm3,ysm3,ztm3,ntot3)
507 CALL addcol4 (jacm3,xtm3,yrm3,zsm3,ntot3)
508 CALL addcol4 (jacm3,xsm3,ytm3,zrm3,ntot3)
509 CALL subcol4 (jacm3,xrm3,ytm3,zsm3,ntot3)
510 CALL subcol4 (jacm3,xsm3,yrm3,ztm3,ntot3)
511 CALL subcol4 (jacm3,xtm3,ysm3,zrm3,ntot3)
513 CALL ascol5 (rxm3,ysm3,ztm3,ytm3,zsm3,ntot3)
514 CALL ascol5 (rym3,xtm3,zsm3,xsm3,ztm3,ntot3)
515 CALL ascol5 (rzm3,xsm3,ytm3,xtm3,ysm3,ntot3)
516 CALL ascol5 (sxm3,ytm3,zrm3,yrm3,ztm3,ntot3)
517 CALL ascol5 (sym3,xrm3,ztm3,xtm3,zrm3,ntot3)
518 CALL ascol5 (szm3,xtm3,yrm3,xrm3,ytm3,ntot3)
519 CALL ascol5 (txm3,yrm3,zsm3,ysm3,zrm3,ntot3)
520 CALL ascol5 (tym3,xsm3,zrm3,xrm3,zsm3,ntot3)
521 CALL ascol5 (tzm3,xrm3,ysm3,xsm3,yrm3,ntot3)
528 CALL rzero (rzm1,ntot1)
529 CALL rzero (szm1,ntot1)
530 CALL rone (tzm1,ntot1)
539 CALL chkjac(jacm3(1,1,1,ie),nxyz3,ie,xm3(1,1,1,ie),
540 $ ym3(1,1,1,ie),zm3(1,1,1,ie),ldim,ierr)
541 if (ierr.eq.1) kerr = kerr+1
542 CALL map31 (rxm1(1,1,1,ie),rxm3(1,1,1,ie),ie)
543 CALL map31 (rym1(1,1,1,ie),rym3(1,1,1,ie),ie)
544 CALL map31 (sxm1(1,1,1,ie),sxm3(1,1,1,ie),ie)
545 CALL map31 (sym1(1,1,1,ie),sym3(1,1,1,ie),ie)
547 CALL map31 (rzm1(1,1,1,ie),rzm3(1,1,1,ie),ie)
548 CALL map31 (szm1(1,1,1,ie),szm3(1,1,1,ie),ie)
549 CALL map31 (txm1(1,1,1,ie),txm3(1,1,1,ie),ie)
550 CALL map31 (tym1(1,1,1,ie),tym3(1,1,1,ie),ie)
551 CALL map31 (tzm1(1,1,1,ie),tzm3(1,1,1,ie),ie)
553 CALL map31 (jacm1(1,1,1,ie),jacm3(1,1,1,ie),ie)
554 CALL map31 (xm1(1,1,1,ie),xm3(1,1,1,ie),ie)
555 CALL map31 (ym1(1,1,1,ie),ym3(1,1,1,ie),ie)
556 CALL map31 (zm1(1,1,1,ie),zm3(1,1,1,ie),ie)
565 call outpost(vx,vy,vz,pr,t,
'xyz')
566 if (nid.eq.0)
write(6,*)
'Jac error 3, setting p66=4, ifxyo=t'
570 call invers2(jacmi,jacm1,ntot1)
597 COMMON /scrns/ xrm1(lx1,ly1,lz1,lelt)
598 $ , yrm1(lx1,ly1,lz1,lelt)
599 $ , xsm1(lx1,ly1,lz1,lelt)
600 $ , ysm1(lx1,ly1,lz1,lelt)
601 $ , xtm1(lx1,ly1,lz1,lelt)
602 $ , ytm1(lx1,ly1,lz1,lelt)
603 $ , zrm1(lx1,ly1,lz1,lelt)
604 COMMON /ctmp1/ zsm1(lx1,ly1,lz1,lelt)
605 $ , ztm1(lx1,ly1,lz1,lelt)
612 CALL xyzrst (xrm1,yrm1,zrm1,xsm1,ysm1,zsm1,xtm1,ytm1,ztm1,
616 CALL rzero (jacm1,ntot1)
617 CALL addcol3 (jacm1,xrm1,ysm1,ntot1)
618 CALL subcol3 (jacm1,xsm1,yrm1,ntot1)
619 CALL copy (rxm1,ysm1,ntot1)
620 CALL copy (rym1,xsm1,ntot1)
622 CALL copy (sxm1,yrm1,ntot1)
624 CALL copy (sym1,xrm1,ntot1)
625 CALL rzero (rzm1,ntot1)
626 CALL rzero (szm1,ntot1)
627 CALL rone (tzm1,ntot1)
629 CALL rzero (jacm1,ntot1)
630 CALL addcol4 (jacm1,xrm1,ysm1,ztm1,ntot1)
631 CALL addcol4 (jacm1,xtm1,yrm1,zsm1,ntot1)
632 CALL addcol4 (jacm1,xsm1,ytm1,zrm1,ntot1)
633 CALL subcol4 (jacm1,xrm1,ytm1,zsm1,ntot1)
634 CALL subcol4 (jacm1,xsm1,yrm1,ztm1,ntot1)
635 CALL subcol4 (jacm1,xtm1,ysm1,zrm1,ntot1)
636 CALL ascol5 (rxm1,ysm1,ztm1,ytm1,zsm1,ntot1)
637 CALL ascol5 (rym1,xtm1,zsm1,xsm1,ztm1,ntot1)
638 CALL ascol5 (rzm1,xsm1,ytm1,xtm1,ysm1,ntot1)
639 CALL ascol5 (sxm1,ytm1,zrm1,yrm1,ztm1,ntot1)
640 CALL ascol5 (sym1,xrm1,ztm1,xtm1,zrm1,ntot1)
641 CALL ascol5 (szm1,xtm1,yrm1,xrm1,ytm1,ntot1)
642 CALL ascol5 (txm1,yrm1,zsm1,ysm1,zrm1,ntot1)
643 CALL ascol5 (tym1,xsm1,zrm1,xrm1,zsm1,ntot1)
644 CALL ascol5 (tzm1,xrm1,ysm1,xsm1,yrm1,ntot1)
649 CALL chkjac(jacm1(1,1,1,ie),nxyz1,ie,xm1(1,1,1,ie),
650 $ ym1(1,1,1,ie),zm1(1,1,1,ie),ldim,ierr)
651 if (ierr.ne.0) kerr = kerr+1
660 call outpost(vx,vy,vz,pr,t,
'xyz')
661 if (nid.eq.0)
write(6,*)
'Jac error 1, setting p66=4, ifxyo=t'
665 call invers2(jacmi,jacm1,ntot1)
686 COMMON /scrns/ xrm1(lx1,ly1,lz1,lelt)
687 $ , yrm1(lx1,ly1,lz1,lelt)
688 $ , xsm1(lx1,ly1,lz1,lelt)
689 $ , ysm1(lx1,ly1,lz1,lelt)
690 $ , xtm1(lx1,ly1,lz1,lelt)
691 $ , ytm1(lx1,ly1,lz1,lelt)
692 $ , zrm1(lx1,ly1,lz1,lelt)
693 COMMON /ctmp1/ zsm1(lx1,ly1,lz1,lelt)
694 $ , ztm1(lx1,ly1,lz1,lelt)
695 $ , wj(lx1,ly1,lz1,lelt)
700 IF (ifgmsh3 .AND. istep.EQ.0)
701 $
CALL xyzrst (xrm1,yrm1,zrm1,xsm1,ysm1,zsm1,xtm1,ytm1,ztm1,
704 IF (.NOT.ifaxis)
THEN
708 IF (ifrzer(iel))
THEN
712 wj(i,j,1,iel) = ym1(i,j,1,iel)/
713 $ (jacm1(i,j,1,iel)*(1.+zam1(j)))
715 wj(i,j,1,iel) = ysm1(i,j,1,iel)/jacm1(i,j,1,iel)
719 CALL invcol3 (wj(1,1,1,iel),ym1(1,1,1,iel),
720 $ jacm1(1,1,1,iel),nxyz1)
728 CALL vdot2 (g1m1,rxm1,rym1,rxm1,rym1,ntot1)
729 CALL vdot2 (g2m1,sxm1,sym1,sxm1,sym1,ntot1)
730 CALL vdot2 (g4m1,rxm1,rym1,sxm1,sym1,ntot1)
731 CALL col2 (g1m1,wj,ntot1)
732 CALL col2 (g2m1,wj,ntot1)
733 CALL col2 (g4m1,wj,ntot1)
734 CALL rzero (g3m1,ntot1)
735 CALL rzero (g5m1,ntot1)
736 CALL rzero (g6m1,ntot1)
738 CALL vdot3 (g1m1,rxm1,rym1,rzm1,rxm1,rym1,rzm1,ntot1)
739 CALL vdot3 (g2m1,sxm1,sym1,szm1,sxm1,sym1,szm1,ntot1)
740 CALL vdot3 (g3m1,txm1,tym1,tzm1,txm1,tym1,tzm1,ntot1)
741 CALL vdot3 (g4m1,rxm1,rym1,rzm1,sxm1,sym1,szm1,ntot1)
742 CALL vdot3 (g5m1,rxm1,rym1,rzm1,txm1,tym1,tzm1,ntot1)
743 CALL vdot3 (g6m1,sxm1,sym1,szm1,txm1,tym1,tzm1,ntot1)
744 CALL col2 (g1m1,wj,ntot1)
745 CALL col2 (g2m1,wj,ntot1)
746 CALL col2 (g3m1,wj,ntot1)
747 CALL col2 (g4m1,wj,ntot1)
748 CALL col2 (g5m1,wj,ntot1)
749 CALL col2 (g6m1,wj,ntot1)
756 IF (ifaxis)
CALL setaxw1 ( ifrzer(iel) )
757 CALL col2 (g1m1(1,1,1,iel),w3m1,nxyz1)
758 CALL col2 (g2m1(1,1,1,iel),w3m1,nxyz1)
759 CALL col2 (g4m1(1,1,1,iel),w3m1,nxyz1)
761 CALL col2 (g3m1(1,1,1,iel),w3m1,nxyz1)
762 CALL col2 (g5m1(1,1,1,iel),w3m1,nxyz1)
763 CALL col2 (g6m1(1,1,1,iel),w3m1,nxyz1)
770 IF (ifaxis)
CALL setaxw1 ( ifrzer(iel) )
771 CALL col3 (bm1(1,1,1,iel),jacm1(1,1,1,iel),w3m1,nxyz1)
773 CALL col3(baxm1(1,1,1,iel),jacm1(1,1,1,iel),w3m1,nxyz1)
774 IF (ifrzer(iel))
THEN
778 bm1(i,j,1,iel) = bm1(i,j,1,iel)*ym1(i,j,1,iel)
780 baxm1(i,j,1,iel)=baxm1(i,j,1,iel)/(1.+zam1(j))
784 bm1(i,j,1,iel) = bm1(i,j,1,iel)*ysm1(i,j,1,iel)
785 baxm1(i,j,1,iel)=baxm1(i,j,1,iel)
790 CALL col2 (bm1(1,1,1,iel),ym1(1,1,1,iel),nxyz1)
802 yinvm1(i,j,1,iel)=1.0d0/ysm1(i,j,1,iel)
804 yinvm1(i,j,1,iel)=1.0d0/ym1(i,j,1,iel)
809 CALL invers2(yinvm1(1,1,1,iel),ym1(1,1,1,iel),nxyz1)
813 CALL cfill(yinvm1,1.0d0,nxyz1*nelt)
845 CALL copy (rxm2,rxm1,ntot2)
846 CALL copy (rym2,rym1,ntot2)
847 CALL copy (rzm2,rzm1,ntot2)
848 CALL copy (sxm2,sxm1,ntot2)
849 CALL copy (sym2,sym1,ntot2)
850 CALL copy (szm2,szm1,ntot2)
851 CALL copy (txm2,txm1,ntot2)
852 CALL copy (tym2,tym1,ntot2)
853 CALL copy (tzm2,tzm1,ntot2)
854 CALL copy (jacm2,jacm1,ntot2)
855 CALL copy (bm2,bm1,ntot2)
857 CALL copy (xm2,xm1,ntot2)
858 CALL copy (ym2,ym1,ntot2)
859 CALL copy (zm2,zm1,ntot2)
866 CALL rzero (rzm2,ntot2)
867 CALL rzero (szm2,ntot2)
868 CALL rone (tzm2,ntot2)
875 CALL map12 (rxm2(1,1,1,iel),rxm1(1,1,1,iel),iel)
876 CALL map12 (rym2(1,1,1,iel),rym1(1,1,1,iel),iel)
877 CALL map12 (sxm2(1,1,1,iel),sxm1(1,1,1,iel),iel)
878 CALL map12 (sym2(1,1,1,iel),sym1(1,1,1,iel),iel)
880 CALL map12 (rzm2(1,1,1,iel),rzm1(1,1,1,iel),iel)
881 CALL map12 (szm2(1,1,1,iel),szm1(1,1,1,iel),iel)
882 CALL map12 (txm2(1,1,1,iel),txm1(1,1,1,iel),iel)
883 CALL map12 (tym2(1,1,1,iel),tym1(1,1,1,iel),iel)
884 CALL map12 (tzm2(1,1,1,iel),tzm1(1,1,1,iel),iel)
886 CALL map12 (jacm2(1,1,1,iel),jacm1(1,1,1,iel),iel)
888 CALL map12 (xm2(1,1,1,iel),xm1(1,1,1,iel),iel)
889 CALL map12 (ym2(1,1,1,iel),ym1(1,1,1,iel),iel)
890 CALL map12 (zm2(1,1,1,iel),zm1(1,1,1,iel),iel)
894 IF (ifaxis)
CALL setaxw2 ( ifrzer(iel) )
895 CALL col3 (bm2(1,1,1,iel),w3m2,jacm2(1,1,1,iel),nxyz2)
897 IF (ifaxis.AND.ifrzer(iel))
THEN
900 bm2(i,j,1,iel) = bm2(i,j,1,iel)*ym2(i,j,1,iel)
903 ELSEIF (ifaxis.AND.(.NOT.ifrzer(iel)))
THEN
904 CALL col2 (bm2(1,1,1,iel),ym2(1,1,1,iel),nxyz2)
915 subroutine xyzrst (xrm1,yrm1,zrm1,xsm1,ysm1,zsm1,
916 $ XTM1,YTM1,ZTM1,IFAXIS)
926 dimension xrm1(lx1,ly1,lz1,1),yrm1(lx1,ly1,lz1,1)
927 $ , zrm1(lx1,ly1,lz1,1),xsm1(lx1,ly1,lz1,1)
928 $ , ysm1(lx1,ly1,lz1,1),zsm1(lx1,ly1,lz1,1)
929 $ , xtm1(lx1,ly1,lz1,1),ytm1(lx1,ly1,lz1,1)
930 $ , ztm1(lx1,ly1,lz1,1)
938 IF (ifaxis)
CALL setaxdy ( ifrzer(iel) )
940 CALL mxm (dxm1,lx1,xm1(1,1,1,iel),lx1,xrm1(1,1,1,iel),nyz1)
941 CALL mxm (dxm1,lx1,ym1(1,1,1,iel),lx1,yrm1(1,1,1,iel),nyz1)
942 CALL mxm (dxm1,lx1,zm1(1,1,1,iel),lx1,zrm1(1,1,1,iel),nyz1)
945 CALL mxm (xm1(1,1,iz,iel),lx1,dytm1,ly1,xsm1(1,1,iz,iel),ly1)
946 CALL mxm (ym1(1,1,iz,iel),lx1,dytm1,ly1,ysm1(1,1,iz,iel),ly1)
947 CALL mxm (zm1(1,1,iz,iel),lx1,dytm1,ly1,zsm1(1,1,iz,iel),ly1)
951 CALL mxm (xm1(1,1,1,iel),nxy1,dztm1,lz1,xtm1(1,1,1,iel),lz1)
952 CALL mxm (ym1(1,1,1,iel),nxy1,dztm1,lz1,ytm1(1,1,1,iel),lz1)
953 CALL mxm (zm1(1,1,1,iel),nxy1,dztm1,lz1,ztm1(1,1,1,iel),lz1)
955 CALL rzero (xtm1(1,1,1,iel),nxy1)
956 CALL rzero (ytm1(1,1,1,iel),nxy1)
957 CALL rone (ztm1(1,1,1,iel),nxy1)
964 subroutine chkjac(jac,n,iel,X,Y,Z,ND,IERR)
971 REAL JAC(N),x(1),y(1),z(1)
976 IF (sign*jac(i).LE.0.0)
THEN
978 WRITE(6,101) nid,i,ieg
979 write(6,*) jac(i-1),jac(i)
981 write(6,7) nid,x(i-1),y(i-1),z(i-1)
982 write(6,7) nid,x(i),y(i),z(i)
984 write(6,7) nid,x(i-1),y(i-1)
985 write(6,7) nid,x(i),y(i)
987 7
format(i5,
' xyz:',1p3e14.5)
994 $ ,
'ERROR: Vanishing Jacobian near',i7,
'th node of element'
1014 volvm1=
glsum(bm1,lx1*ly1*lz1*nelv)
1015 volvm2=
glsum(bm2,lx2*ly2*lz2*nelv)
1016 voltm1=
glsum(bm1,lx1*ly1*lz1*nelt)
1017 voltm2=
glsum(bm2,lx2*ly2*lz2*nelt)
1019 if (ifmvbd) mfield=0
1021 if (ifmhd) nfldt = nfield+1
1023 do ifld=mfield,nfldt
1024 if (iftmsh(ifld))
then
1025 volfld(ifld) = voltm1
1027 volfld(ifld) = volvm1
1036 volel(e) =
vlsum(bm1(1,1,1,e),nxyz)
1050 nsrf = 6*lx1*lz1*nelt
1052 CALL rzero (area,nsrf)
1053 CALL rzero3 (unx,uny,unz,nsrf)
1054 CALL rzero3 (t1x,t1y,t1z,nsrf)
1055 CALL rzero3 (t2x,t2y,t2z,nsrf)
1077 COMMON /scrns/ xrm1(lx1,ly1,lz1,lelt)
1078 $ , yrm1(lx1,ly1,lz1,lelt)
1079 $ , xsm1(lx1,ly1,lz1,lelt)
1080 $ , ysm1(lx1,ly1,lz1,lelt)
1081 COMMON /ctmp0/ wgtr1(lx1,lelt)
1086 CALL setwgtr (wgtr1,wgtr2,wgtr3,wgtr4)
1092 xs2 = xsm1(lx1,iy,1,iel)
1093 ys2 = ysm1(lx1,iy,1,iel)
1094 xs4 = xsm1( 1,iy,1,iel)
1095 ys4 = ysm1( 1,iy,1,iel)
1096 ss2 = sqrt( xs2**2 + ys2**2 )
1097 ss4 = sqrt( xs4**2 + ys4**2 )
1098 t1x(iy,1,2,iel) = xs2 / ss2
1099 t1y(iy,1,2,iel) = ys2 / ss2
1100 t1x(iy,1,4,iel) = -xs4 / ss4
1101 t1y(iy,1,4,iel) = -ys4 / ss4
1102 unx(iy,1,2,iel) = t1y(iy,1,2,iel)
1103 uny(iy,1,2,iel) = -t1x(iy,1,2,iel)
1104 unx(iy,1,4,iel) = t1y(iy,1,4,iel)
1105 uny(iy,1,4,iel) = -t1x(iy,1,4,iel)
1106 area(iy,1,2,iel) = ss2 * wgtr2(iy,iel)
1107 area(iy,1,4,iel) = ss4 * wgtr4(iy,iel)
1114 xr1 = xrm1(ix, 1,1,iel)
1115 yr1 = yrm1(ix, 1,1,iel)
1116 xr3 = xrm1(ix,ly1,1,iel)
1117 yr3 = yrm1(ix,ly1,1,iel)
1118 rr1 = sqrt( xr1**2 + yr1**2 )
1119 rr3 = sqrt( xr3**2 + yr3**2 )
1120 t1x(ix,1,1,iel) = xr1 / rr1
1121 t1y(ix,1,1,iel) = yr1 / rr1
1122 t1x(ix,1,3,iel) = -xr3 / rr3
1123 t1y(ix,1,3,iel) = -yr3 / rr3
1124 unx(ix,1,1,iel) = t1y(ix,1,1,iel)
1125 uny(ix,1,1,iel) = -t1x(ix,1,1,iel)
1126 unx(ix,1,3,iel) = t1y(ix,1,3,iel)
1127 uny(ix,1,3,iel) = -t1x(ix,1,3,iel)
1128 area(ix,1,1,iel) = rr1 * wgtr1(ix,iel)
1129 area(ix,1,3,iel) = rr3 * wgtr3(ix,iel)
1144 COMMON /scrns/ xrm1(lx1,ly1,lz1,lelt)
1145 $ , yrm1(lx1,ly1,lz1,lelt)
1146 $ , xsm1(lx1,ly1,lz1,lelt)
1147 $ , ysm1(lx1,ly1,lz1,lelt)
1149 dimension wgtr1(lx1,1)
1157 wgtr1(ix,iel) = ym1(ix, 1,1,iel) * wxm1(ix)
1158 wgtr3(ix,iel) = ym1(ix,ly1,1,iel) * wxm1(ix)
1160 IF ( ifrzer(iel) )
THEN
1162 wgtr2(iy,iel) = ysm1(lx1,iy,1,iel) * wam1(iy)
1163 wgtr4(iy,iel) = ysm1( 1,iy,1,iel) * wam1(iy)
1166 wgtr2(iy,iel) = ym1(lx1,iy,1,iel) * wam1(iy) / dnr
1167 wgtr4(iy,iel) = ym1( 1,iy,1,iel) * wam1(iy) / dnr
1171 wgtr2(iy,iel) = ym1(lx1,iy,1,iel) * wym1(iy)
1172 wgtr4(iy,iel) = ym1( 1,iy,1,iel) * wym1(iy)
1178 CALL copy (wgtr1(1,iel),wxm1,lx1)
1179 CALL copy (wgtr2(1,iel),wym1,ly1)
1180 CALL copy (wgtr3(1,iel),wxm1,lx1)
1181 CALL copy (wgtr4(1,iel),wym1,ly1)
1200 COMMON /scrns/ xrm1(lx1,ly1,lz1,lelt)
1201 $ , yrm1(lx1,ly1,lz1,lelt)
1202 $ , xsm1(lx1,ly1,lz1,lelt)
1203 $ , ysm1(lx1,ly1,lz1,lelt)
1204 $ , xtm1(lx1,ly1,lz1,lelt)
1205 $ , ytm1(lx1,ly1,lz1,lelt)
1206 $ , zrm1(lx1,ly1,lz1,lelt)
1207 COMMON /ctmp1/ zsm1(lx1,ly1,lz1,lelt)
1208 $ , ztm1(lx1,ly1,lz1,lelt)
1209 $ , a(lx1,ly1,lz1,lelt)
1210 $ , b(lx1,ly1,lz1,lelt)
1211 COMMON /ctmp0/ c(lx1,ly1,lz1,lelt)
1212 $ ,
dot(lx1,ly1,lz1,lelt)
1216 ntot = lx1*ly1*lz1*nelt
1217 nsrf = 6*lx1*ly1*nelt
1221 CALL vcross(a,b,c,xsm1,ysm1,zsm1,xtm1,ytm1,ztm1,ntot)
1227 weight = wym1(iy)*wzm1(iz)
1228 area(iy,iz,2,iel) = sqrt(
dot(lx1,iy,iz,iel))*weight
1229 area(iy,iz,4,iel) = sqrt(
dot( 1,iy,iz,iel))*weight
1230 unx(iy,iz,4,iel) = -a( 1,iy,iz,iel)
1231 unx(iy,iz,2,iel) = a(lx1,iy,iz,iel)
1232 uny(iy,iz,4,iel) = -b( 1,iy,iz,iel)
1233 uny(iy,iz,2,iel) = b(lx1,iy,iz,iel)
1234 unz(iy,iz,4,iel) = -c( 1,iy,iz,iel)
1235 unz(iy,iz,2,iel) = c(lx1,iy,iz,iel)
1240 CALL vcross(a,b,c,xrm1,yrm1,zrm1,xtm1,ytm1,ztm1,ntot)
1245 weight=wxm1(ix)*wzm1(iz)
1246 area(ix,iz,1,iel) = sqrt(
dot(ix, 1,iz,iel))*weight
1247 area(ix,iz,3,iel) = sqrt(
dot(ix,ly1,iz,iel))*weight
1248 unx(ix,iz,1,iel) = a(ix, 1,iz,iel)
1249 unx(ix,iz,3,iel) = -a(ix,ly1,iz,iel)
1250 uny(ix,iz,1,iel) = b(ix, 1,iz,iel)
1251 uny(ix,iz,3,iel) = -b(ix,ly1,iz,iel)
1252 unz(ix,iz,1,iel) = c(ix, 1,iz,iel)
1253 unz(ix,iz,3,iel) = -c(ix,ly1,iz,iel)
1258 CALL vcross(a,b,c,xrm1,yrm1,zrm1,xsm1,ysm1,zsm1,ntot)
1263 weight=wxm1(ix)*wym1(iy)
1264 area(ix,iy,5,iel) = sqrt(
dot(ix,iy, 1,iel))*weight
1265 area(ix,iy,6,iel) = sqrt(
dot(ix,iy,lz1,iel))*weight
1266 unx(ix,iy,5,iel) = -a(ix,iy, 1,iel)
1267 unx(ix,iy,6,iel) = a(ix,iy,lz1,iel)
1268 uny(ix,iy,5,iel) = -b(ix,iy, 1,iel)
1269 uny(ix,iy,6,iel) = b(ix,iy,lz1,iel)
1270 unz(ix,iy,5,iel) = -c(ix,iy, 1,iel)
1271 unz(ix,iy,6,iel) = c(ix,iy,lz1,iel)
1274 CALL unitvec (unx,uny,unz,nsrf)
1280 IF (ifc.EQ.1 .OR. ifc.EQ.6)
THEN
1281 CALL facexv (t1x(1,1,ifc,iel),t1y(1,1,ifc,iel),
1283 $ xrm1(1,1,1,iel),yrm1(1,1,1,iel),
1284 $ zrm1(1,1,1,iel),ifc,0)
1285 ELSEIF (ifc.EQ.2 .OR. ifc.EQ.5)
THEN
1286 CALL facexv (t1x(1,1,ifc,iel),t1y(1,1,ifc,iel),
1288 $ xsm1(1,1,1,iel),ysm1(1,1,1,iel),
1289 $ zsm1(1,1,1,iel),ifc,0)
1291 CALL facexv (t1x(1,1,ifc,iel),t1y(1,1,ifc,iel),
1293 $ xtm1(1,1,1,iel),ytm1(1,1,1,iel),
1294 $ ztm1(1,1,1,iel),ifc,0)
1298 CALL unitvec (t1x,t1y,t1z,nsrf)
1304 CALL vcross (t2x(1,1,ifc,iel),t2y(1,1,ifc,iel),
1306 $ unx(1,1,ifc,iel),uny(1,1,ifc,iel),
1308 $ t1x(1,1,ifc,iel),t1y(1,1,ifc,iel),
1309 $ t1z(1,1,ifc,iel),nxy1)
1324 ntot1 = lx1*ly1*lz1*nelt
1325 DO 100 ilag=nbdinp-1,2,-1
1326 CALL copy (bm1lag(1,1,1,1,ilag),bm1lag(1,1,1,1,ilag-1),ntot1)
1328 CALL copy (bm1lag(1,1,1,1,1),bm1,ntot1)
1359 CALL copy (binvm1,bm1,ntot)
1360 CALL dssum (binvm1,lx1,ly1,lz1)
1368 CALL copy (bintm1,bm1,ntot)
1369 CALL dssum (bintm1,lx1,ly1,lz1)
1393 REAL X(NREST,NREST,NREST)
1396 REAL XA(lx1,NREST,NREST)
1397 COMMON /ctmp0/ xb(lx1,ly1,lz1)
1399 REAL IXRES(LX1,LX1),IXTRES(LX1,LX1)
1400 REAL IYRES(LY1,LY1),IYTRES(LY1,LY1)
1401 REAL IZRES(LZ1,LZ1),IZTRES(LZ1,LZ1)
1402 REAL ZCRES(20),WCRES(20)
1403 REAL ZARES(20),WARES(20)
1406 IF(lz1.EQ.1) nzrest=1
1407 nyzres = nrest*nzrest
1410 CALL zwgll (zcres,wcres,nrest)
1411 CALL igllm (ixres,ixtres,zcres,zgm1,nrest,lx1,nrest,lx1)
1412 IF (.NOT.ifaxis)
THEN
1413 CALL copy (iyres,ixres,lx1*nrest)
1414 CALL copy (iytres,ixtres,lx1*nrest)
1415 CALL copy (izres,ixres,lx1*nrest)
1416 CALL copy (iztres,ixtres,lx1*nrest)
1422 IF (ifrzer(iel))
THEN
1425 CALL zwglj (zares,wares,nrest,alpha,beta)
1426 CALL igljm (iyres,iytres,zares,zgm1,nrest,ly1,nrest,ly1,
1430 CALL copy (iyres,ixres,lx1*nrest)
1431 CALL copy (iytres,ixtres,lx1*nrest)
1436 CALL mxm (ixres,lx1,x,nrest,xa,nrest)
1437 CALL mxm (xa,lx1,iytres,nrest,y,ly1)
1439 CALL mxm (ixres,lx1,x,nrest,xa,nyzres)
1441 CALL mxm (xa(1,1,iz),lx1,iytres,nrest,xb(1,1,iz),ly1)
1443 CALL mxm (xb,nxy1,iztres,nzrest,y,lz1)
1464 COMMON /ctmp0/ xa(lx1,ly3,lz3), xb(lx1,ly1,lz3)
1474 IF (ifrzer(iel))
CALL copy (iytm31,iatm31,ly31)
1475 IF (.NOT.ifrzer(iel))
CALL copy (iytm31,ictm31,ly31)
1479 CALL mxm (ixm31,lx1,x,lx3,xa,nyz3)
1481 CALL mxm (xa(1,1,iz),lx1,iytm31,ly3,xb(1,1,iz),ly1)
1483 CALL mxm (xb,nxy1,iztm31,lz3,y,lz1)
1485 CALL mxm (ixm31,lx1,x,lx3,xa,nyz3)
1486 CALL mxm (xa,lx1,iytm31,ly3,y,ly1)
1507 COMMON /ctmp0/ xa(lx3,ly1,lz1), xb(lx3,ly3,lz1)
1517 IF (ifrzer(iel))
CALL copy (iytm13,iatm13,ly13)
1518 IF (.NOT.ifrzer(iel))
CALL copy (iytm13,ictm13,ly13)
1521 CALL mxm (ixm13,lx3,x,lx1,xa,nyz1)
1523 CALL mxm (xa(1,1,iz),lx3,iytm13,ly1,xb(1,1,iz),ly3)
1525 CALL mxm (xb,nxy3,iztm13,lz1,y,lz3)
1544 COMMON /ctmp00/ xa(lx2,ly1,lz1), xb(lx2,ly2,lz1)
1554 IF (ifrzer(iel))
CALL copy (iytm12,iatm12,ly12)
1555 IF (.NOT.ifrzer(iel))
CALL copy (iytm12,ictm12,ly12)
1558 CALL mxm (ixm12,lx2,x,lx1,xa,nyz1)
1560 CALL mxm (xa(1,1,iz),lx2,iytm12,ly1,xb(1,1,iz),ly2)
1562 CALL mxm (xb,nxy2,iztm12,lz1,y,lz2)
1582 COMMON /ctmp0/ xa(lx1,ly2,lz2), xb(lx1,ly1,lz2)
1597 CALL mxm (ixm21,lx1,x,lx2,xa,nyz2)
1599 CALL mxm (xa(1,1,iz),lx1,iytm21,ly2,xb(1,1,iz),ly1)
1601 CALL mxm (xb,nxy1,iztm21,lz2,y,lz1)
1603 CALL mxm (ixm21,lx1,x,lx2,xa,nyz2)
1604 CALL mxm (xa,lx1,iytm21,ly2,y,ly1)
1623 COMMON /ctmp0/ xa(lx1,ly2,lz2), xb(lx1,ly1,lz2)
1633 IF (ifrzer(iel))
CALL copy (iym12,iam12,ly21)
1634 IF (.NOT.ifrzer(iel))
CALL copy (iym12,icm12,ly21)
1637 CALL mxm (ixtm12,lx1,x,lx2,xa,nyz2)
1639 CALL mxm (xa(1,1,iz),lx1,iym12,ly2,xb(1,1,iz),ly1)
1641 CALL mxm (xb,nxy1,izm12,lz2,y,lz1)
1660 real x(lx1,ly1,lz1,lelt)
1668 write(6,1) c2,e,(x(i,j,k,e),i=1,nx8)
1671 1
format(a2,i6,1p8e11.3)
1679 real xm3(lx1,ly1,lz1,lelv)
1680 real ym3(lx1,ly1,lz1,lelv)
1681 real jm3(lx1,ly1,lz1,lelv)
1686 write(6,*) e,nelfld(e),iftmsh(e),
' iftmsh'
1687 call outmat(xm3(1,1,1,e),lx3,ly3,
' xm3 ',e)
1688 call outmat(ym3(1,1,1,e),lx3,ly3,
' ym3 ',e)
1689 call outmat(jm3(1,1,1,e),lx3,ly3,
' jm3 ',e)
1697 REAL A(N,N),AA(N,N),B(N,N)
1709 CALL ludcmp(aa,n,n,indx,d)
1711 CALL lubksb(aa,n,n,indx,b(1,j))
1729 ELSE IF (sum.NE.0.0)
THEN
1746 parameter(nmax=100,tiny=1.0e-20)
1747 REAL A(NP,NP),VV(NMAX)
1753 IF (abs(a(i,j)).GT.aamax) aamax=abs(a(i,j))
1755 IF (aamax.EQ.0.0)
THEN
1756 write(6,*)
'Singular matrix.'
1767 sum=sum-a(i,k)*a(k,j)
1778 sum=sum-a(i,k)*a(k,j)
1783 IF (dum.GE.aamax)
THEN
1799 IF(a(j,j).EQ.0.)a(j,j)=tiny
1806 IF(a(n,n).EQ.0.0)a(n,n)=tiny
1819 call dsset(lx1,ly1,lz1)
1827 jskip1 = skpdat(3,pf)
1830 jskip2 = skpdat(6,pf)
1834 do j2=js2,jf2,jskip2
1835 do j1=js1,jf1,jskip1
1837 a = area(i,1,f,e)/jacm1(j1,j2,1,e)
1838 unr(i,f,e) = a * ( rxm1(j1,j2,1,e)*unx(i,1,f,e)
1839 $ + rym1(j1,j2,1,e)*uny(i,1,f,e)
1840 $ + rzm1(j1,j2,1,e)*unz(i,1,f,e) )
1841 uns(i,f,e) = a * ( sxm1(j1,j2,1,e)*unx(i,1,f,e)
1842 $ + sym1(j1,j2,1,e)*uny(i,1,f,e)
1843 $ + szm1(j1,j2,1,e)*unz(i,1,f,e) )
1844 unt(i,f,e) = a * ( txm1(j1,j2,1,e)*unx(i,1,f,e)
1845 $ + tym1(j1,j2,1,e)*uny(i,1,f,e)
1846 $ + tzm1(j1,j2,1,e)*unz(i,1,f,e) )
1850 do j2=js2,jf2,jskip2
1851 do j1=js1,jf1,jskip1
1853 a = area(i,1,f,e)/jacm1(j1,j2,1,e)
1854 unr(i,f,e) = a * ( rxm1(j1,j2,1,e)*unx(i,1,f,e)
1855 $ + rym1(j1,j2,1,e)*uny(i,1,f,e) )
1856 uns(i,f,e) = a * ( sxm1(j1,j2,1,e)*unx(i,1,f,e)
1857 $ + sym1(j1,j2,1,e)*uny(i,1,f,e) )
subroutine unitvec(X, Y, Z, N)
subroutine rzero3(A, B, C, N)
subroutine invmt(A, B, AA, N)
subroutine chkjac(jac, n, iel, X, Y, Z, ND, IERR)
subroutine map31(y, x, iel)
subroutine lubksb(A, N, NP, INDX, B)
subroutine setwgtr(wgtr1, wgtr2, wgtr3, wgtr4)
subroutine map21e(y, x, iel)
subroutine outxm3j(xm3, ym3, jm3)
subroutine out_fld_el(x, e, c2)
subroutine glmapm3(xm3, ym3, zm3)
subroutine xyzrst(xrm1, yrm1, zrm1, xsm1, ysm1, zsm1, XTM1, YTM1, ZTM1, IFAXIS)
subroutine geom1(xm3, ym3, zm3)
subroutine map21t(y, x, iel)
subroutine ludcmp(A, N, NP, INDX, D)
subroutine map12(y, x, iel)
subroutine map13(y, x, iel)
subroutine maprs(y, x, xa, nrest, iel)
subroutine out_xyz_el(x, y, z, e)
subroutine dsset(nx, ny, nz)
subroutine dssum(u, nx, ny, nz)
subroutine outmat(a, m, n, name6, ie)
real function dot(V1, V2, N)
subroutine col3(a, b, c, n)
subroutine ascol5(a, b, c, d, e, n)
subroutine invers2(a, b, n)
subroutine addcol3(a, b, c, n)
subroutine addcol4(a, b, c, d, n)
subroutine vdot2(dot, u1, u2, v1, v2, n)
real function vlsum(vec, n)
subroutine subcol3(a, b, c, n)
subroutine subcol4(a, b, c, d, n)
subroutine cfill(a, b, n)
subroutine invcol3(a, b, c, n)
subroutine vdot3(dot, u1, u2, u3, v1, v2, v3, n)
subroutine vcross(u1, u2, u3, v1, v2, v3, w1, w2, w3, n)
subroutine mxm(a, n1, b, n2, c, n3)
subroutine outpost(v1, v2, v3, vp, vt, name3)
subroutine zwglj(Z, W, NP, ALPHA, BETA)
subroutine zwgl(Z, W, NP)
subroutine dglj(D, DT, Z, NZ, lzd, ALPHA, BETA)
subroutine zwgll(Z, W, NP)
subroutine iglm(I12, IT12, Z1, Z2, lz1, lz2, ND1, ND2)
subroutine igljm(I12, IT12, Z1, Z2, lz1, lz2, ND1, ND2, ALPHA, BETA)
subroutine dgllgl(D, DT, ZM1, ZM2, IM12, NZM1, NZM2, ND1, ND2)
subroutine igllm(I12, IT12, Z1, Z2, lz1, lz2, ND1, ND2)
subroutine igjm(I12, IT12, Z1, Z2, lz1, lz2, ND1, ND2, ALPHA, BETA)
subroutine dgll(D, DT, Z, NZ, lzd)
subroutine zwgj(Z, W, NP, ALPHA, BETA)
subroutine dgljgj(D, DT, ZGL, ZG, IGLG, NPGL, NPG, ND1, ND2, ALPHA, BETA)
subroutine setaxdy(ifaxdy)
subroutine setaxw2(IFAXWG)
subroutine facexv(A1, A2, A3, B1, B2, B3, IFACE1, IOP)
subroutine setaxw1(IFAXWG)