37#include
"implicit_f.inc"
50 INTEGER,
INTENT(IN) :: MTN
51 INTEGER,
INTENT(IN) :: ISMSTR
52 INTEGER (MVSIZ,10),NEL
55 . vx0(mvsiz,10),vy0(mvsiz,10),vz0(mvsiz,10),
56 . d(3,*) ,off(*),off0(*),x(3,*)
58 . XX(MVSIZ,10), YY(MVSIZ,10), ZZ(MVSIZ,10),XDP(3,*),
59 . x0(mvsiz,10), y0(mvsiz,10), z0(mvsiz,10),sav(nel,30)
74 z0(i,n)=sav(i,n+2*npe)
82 vx0(i,n)=xx(i,n)-x0(i,n)
83 vy0(i,n)=yy(i,n)-y0(i,n)
84 vz0(i,n)=zz(i,n)-z0(i,n)
88 vx0(i,n)=xx(i,n)-x0(i,n)-vx0(i,npe)
89 vy0(i,n)=yy(i,n)-y0(i,n)-vy0(i,npe)
90 vz0(i,n)=zz(i,n)-z0(i,n)-vz0(i,npe)
94 IF (ismstr == 12.AND.idtmin(1)==3)
THEN
101 IF (off(i) <= one ) cycle
103 vx0(i,npe)=xdp(1,n3)-x0(i,npe)
104 vy0(i,npe)=xdp(2,n3)-y0(i,npe)
105 vz0(i,npe)=xdp(3,n3)-z0(i,npe)
109 IF (off(i) <= one ) cycle
111 vx0(i,n) =xdp(1,n2)-x0(i,n)-vx0(i,npe)
112 vy0(i,n) =xdp(2,n2)-y0(i,n)-vy0(i,npe)
113 vz0(i,n) =xdp(3,n2)-z0(i,n)-vz0(i,npe)
118 IF (off(i) <= one ) cycle
120 vx0(i,npe)=x(1,n3)-x0(i,npe)
121 vy0(i,npe)=x(2,n3)-y0(i,npe)
122 vz0(i,npe)=x(3,n3)-z0(i,npe)
126 IF (off(i) <= one ) cycle
128 vx0(i,n) =x(1,n2)-x0(i,n)-vx0(i,npe)
129 vy0(i,n) =x(2,n2)-y0(i,n)-vy0(i,npe)
130 vz0(i,n) =x(3,n2)-z0(i,n)-vz0(i,npe)
137 IF (off(i) <= one ) cycle
138 vx0(i,n)=d(1,nc(i,n))-d(1,nc(i,npe))
139 vy0(i,n)=d(2,nc(i,n))-d(2,nc(i,npe))
140 vz0(i,n)=d(3,nc(i,n))-d(3,nc(i,npe))
subroutine sgcoor10(xx, yy, zz, x, xdp, x0, y0, z0, vx0, vy0, vz0, sav, nc, d, off, off0, nel, mtn, ismstr)