34 . X ,NSV ,AREA ,NSN ,ITAB ,
35 . IXC ,IXTG ,IXS ,KNOD2ELS ,NOD2ELS ,
36 . KNOD2ELC ,NOD2ELC ,KNOD2ELTG,NOD2ELTG ,ILEV ,
43#include "implicit_f.inc"
48 INTEGER NSV(*),IXC(NIXC,*),IXTG(NIXTG,*),IXS(NIXS,*),ITAB(*),
49 . KNOD2ELC(*),KNOD2ELTG(*),KNOD2ELS(*),NOD2ELC(*),
50 . NOD2ELTG(*),NOD2ELS(*)
54 CHARACTER(LEN=NCHARTITLE) :: TITR
58 INTEGER , J, K, N, IAD, IS, IEL, ICOQ, ISOL,
59 . N1,N2,N3,N4,N5,N6,N7,N8
62 . ex,ey,ez,x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4,
63 . x5,y5,z5,x6,y6,z6,x7,y7,z7,x8,y8,z8,
64 . x12,y12,z12,x13,y13,z13,x24,y24,z24
67 my_real :: xx1(4), xx2(4),xx3(4),xs1,ys1,zs1,xc,yc,zc
71 IF (ilev == 11 .OR. ilev == 21) isol = 0
72 IF (ilev == 12 .OR. ilev == 22) icoq = 0
79 DO iad = knod2elc(is)+1,knod2elc(is+1)
106 ex = y13*z24 - z13*y24
107 ey = z13*x24 - x13*z24
108 ez = x13*y24 - y13*x24
109 area(i) =
area(i) + sqrt(ex*ex+ey*ey+ez*ez)*half*fourth
112 DO iad = knod2eltg(is)+1,knod2eltg(is+1)
132 ex = y12*z13 - z12*y13
133 ey = z12*x13 - x12*z13
134 ez = x12*y13 - y12*x13
135 area(i) =
area(i) + sqrt(ex*ex+ey*ey+ez*ez)*half*third
140 DO iad = knod2els(is)+1,knod2els(is+1)
188 CALL norma1(i1,i2,i3,face(1),xx1,xx2,xx3)
202 CALL norma1(i1,i2,i3,face(2),xx1,xx2,xx3)
216 CALL norma1(i1,i2,i3,face(3),xx1,xx2,xx3)
230 CALL norma1(i1,i2,i3,face(4),xx1,xx2,xx3)
244 CALL norma1(i1,i2,i3,face(5),xx1,xx2,xx3)
258 CALL norma1(i1,i2,i3,face(6),xx1,xx2,xx3)
264 area(i) =
area(i) + (face(1)+face(4)+face(5))*one_over_12
266 area(i) =
area(i) + (face(1)+face(3)+face(5))*one_over_12
268 area(i) =
area(i) + (face(1)+face(3)+face(6))*one_over_12
270 area(i) =
area(i) + (face(1)+face(4)+face(6))*one_over_12
272 area(i) =
area(i) + (face(2)+face(4)+face(5))*one_over_12
274 area(i) =
area(i) + (face(2)+face(3)+face(5))*one_over_12
276 area(i) =
area(i) + (face(2)+face(3)+face(6))*one_over_12
278 area(i) =
area(i) + (face(2)+face(4)+face(6))*one_over_12
285 IF (
area(i) == zero)
area(i) = area0
286 IF (
area(i) == zero)
THEN
subroutine i2surfs(x, nsv, area, nsn, itab, ixc, ixtg, ixs, knod2els, nod2els, knod2elc, nod2elc, knod2eltg, nod2eltg, ilev, id, titr)
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)