34 . X ,NSV ,AREA ,NSN ,ITAB ,
35 . IXC ,IXTG ,IXS ,KNOD2ELS ,NOD2ELS ,
36 . KNOD2ELC ,NOD2ELC ,KNOD2ELTG,NOD2ELTG ,ILEV ,
40 use element_mod ,
only :nixs,nixc,nixtg
44#include "implicit_f.inc"
49 INTEGER NSV(*),IXC(NIXC,*),IXTG(NIXTG,*),IXS(NIXS,*),ITAB(*),
50 . KNOD2ELC(*),KNOD2ELTG(*),KNOD2ELS(*),NOD2ELC(*),
51 . NOD2ELTG(*),NOD2ELS(*)
55 CHARACTER(LEN=NCHARTITLE)
59 INTEGER I, K, N, IAD, IS, IEL, ICOQ, ISOL,
60 . N1,N2,N3,N4,N5,N6,N7,N8
63 . ex,ey,ez,x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4,
64 . x5,y5,z5,x6,y6,z6,x7,y7,z7,x8,y8,z8,
65 . x12,y12,z12,x13,y13,z13,x24,y24,z24,i1,i2,i3,area0
68 my_real :: xx1(4), xx2(4),xx3(4)
72 IF (ilev == 11 .OR. ilev == 21) isol = 0
73 IF (ilev == 12 .OR. ilev == 22) icoq = 0
80 DO iad = knod2elc(is)+1,knod2elc(is+1)
107 ex = y13*z24 - z13*y24
108 ey = z13*x24 - x13*z24
109 ez = x13*y24 - y13*x24
110 area(i) =
area(i) + sqrt(ex*ex+ey*ey+ez*ez)*half*fourth
113 DO iad = knod2eltg(is)+1,knod2eltg(is+1)
133 ex = y12*z13 - z12*y13
134 ey = z12*x13 - x12*z13
135 ez = x12*y13 - y12*x13
136 area(i) =
area(i) + sqrt(ex*ex+ey*ey+ez*ez)*half*third
141 DO iad = knod2els(is)+1,knod2els(is+1)
189 CALL norma1(i1,i2,i3,face(1),xx1,xx2,xx3)
203 CALL norma1(i1,i2,i3,face(2),xx1,xx2,xx3)
217 CALL norma1(i1,i2,i3,face(3),xx1,xx2
231 CALL norma1(i1,i2,i3,face(4),xx1,xx2,xx3)
245 CALL norma1(i1,i2,i3,face(5),xx1,xx2,xx3)
259 CALL norma1(i1,i2,i3,face(6),xx1,xx2,xx3)
265 area(i) =
area(i) + (face(1)+face(4)+face(5))*one_over_12
267 area(i) =
area(i) + (face(1)+face(3)+face(5))*one_over_12
269 area(i) =
area(i) + (face(1)+face(3)+face(6))*one_over_12
271 area(i) =
area(i) + (face(1)+face(4)+face(6))*one_over_12
273 area(i) =
area(i) + (face(2)+face(4)+face(5))*one_over_12
275 area(i) =
area(i) + (face(2)+face(3)+face(5))*one_over_12
277 area(i) =
area(i) + (face(2)+face(3)+face(6))*one_over_12
279 area(i) =
area(i) + (face(2)+face(4)+face(6))*one_over_12
286 IF (
area(i) == zero)
area(i) = area0
287 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)