34 . MXT,MXG,NC1,NC2,NC3,DELTAX,
35 . X1,X2,X3, Y1,Y2,Y3, Z1,Z2,Z3,
36 . IBEAM_VECTOR,RBEAM_VECTOR,IVECT,VECT)
39 use element_mod ,
only : nixp
43#include "implicit_f.inc"
51 INTEGER NCP(NIXP,*),NC1(), NC2(MVSIZ), NC3(MVSIZ),
52 . MXT(MVSIZ), MXG(MVSIZ)
53 INTEGER ,
INTENT (IN) :: IBEAM_VECTOR(MVSIZ)
54 INTEGER ,
INTENT (OUT) :: IVECT(MVSIZ)
55 my_real X1(MVSIZ), X2(MVSIZ), X3(MVSIZ),
56 . y1(mvsiz), y2(mvsiz), y3(mvsiz),
57 . z1(mvsiz), z2(mvsiz), z3(mvsiz),x(3,*),deltax(mvsiz)
58 my_real ,
INTENT (IN) :: rbeam_vector(3,mvsiz)
59 my_real ,
INTENT (OUT) :: vect(3,mvsiz)
63#include "vect01_c.inc"
68 my_real :: XP1, XP2, XP3, XNOR1, XP4, XP5, XP6, XNOR2, DET1, DET2, DET3, DET, XX,YY,ZZ,TOL
79 ivect(i)=ibeam_vector(i)
80 vect(1:3,i)=rbeam_vector(1:3,i)
99 xx = (x1(i)-x2(i))*(x1(i)-x2(i))
100 yy = (y1(i)-y2(i))*(y1(i)-y2(i))
101 zz = (z1(i)-z2(i))*(z1(i)-z2(i))
102 deltax(i) = sqrt(xx+yy+zz)
111 xnor1=sqrt(xp1*xp1+xp2*xp2+xp3*xp3)
127 det= sqrt(det1**2+det2**2+det3**2)
132 . msgtype=msgwarning,
133 . anmode=aninfo_blind_1,
139 IF (nc3(i)==nc2(i)) cycle
143 xnor2=sqrt(xp4*xp4+xp5*xp5+xp6*xp6)
147 . anmode=aninfo_blind_1,
153 det= sqrt(det1**2+det2**2+det3**2)
156 . msgtype=msgwarning,
157 . anmode=aninfo_blind_1,
166 . msgtype=msgwarning,
167 . anmode=aninfo_blind_1,
170 . msgtype=msgwarning,
171 . anmode=aninfo_blind_1,
subroutine pcoori(x, ncp, mxt, mxg, nc1, nc2, nc3, deltax, x1, x2, x3, y1, y2, y3, z1, z2, z3, ibeam_vector, rbeam_vector, ivect, vect)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)