33 SUBROUTINE i9grd3(IERR ,AREA ,TSTIF ,T ,VOL ,
35 3 IPARG ,PM ,ELBUF_TAB,IGROU ,IELN )
44#include "implicit_f.inc"
54 INTEGER II, IGROU, IELN , IERR, IX(4), IXS(NIXS),IPARG(NPARG,NGROUP)
56 .
area, tstif, t, vol, x(3,numnod), pm(npropm,nummat)
57 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP) :: ELBUF_TAB
61 INTEGER I, N1, N2, N3, N4, IE, NG,MAT, IFA
63 . x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4,
64 . nx, ny, nz, dx, dy, dz,
norm, dist, cond
65 INTEGER :: LLT ,NFT ,MTN ,IAD ,ITY ,NPT ,JALE ,ISMSTR ,JEUL ,JTUR ,JTHE ,JLAG ,JMULT
66INTEGER :: JIVF, NVAUX, JPOR, JCVT, JCLOSE, JPLASOL, IREP, IINT, IGTYP
67 INTEGER :: ISORTH, ISORTHG, ISRAT, ISROT, ICSEN, IFAILURE, JSMS
74 DO 200 ng=ii/nvsiz+1,ngroup
76 2 mtn ,llt ,nft ,iad ,ity ,
77 3 npt ,jale ,ismstr ,jeul ,jtur ,
78 4 jthe ,jlag ,jmult ,jhbe ,jivf ,
79 5 nvaux ,jpor ,jcvt ,jclose ,jplasol ,
80 6 irep ,iint ,igtyp ,israt ,isrot ,
81 7 icsen ,isorth ,isorthg ,ifailure,jsms )
83 IF(ii>nft+llt)
GO TO 200
97 vol = elbuf_tab(ng)%GBUF%VOL(i)
124 nx=(y1-y3)*(z2-z4) - (z1-z3)*(y2-y4)
125 ny=(z1-z3)*(x2-x4) - (x1-x3)*(z2-z4)
126 nz=(x1-x3)*(y2-y4) - (y1-y3)*(x2-x4)
127 norm = sqrt(nx**2 + ny**2 + nz**2)
131 dx = two*(x1 + x2 + x3 + x4)
132 . -x(1,ixs(2))-x(1,ixs(3))
133 . -x(1,ixs(4))-x(1,ixs(5))
134 . -x(1,ixs(6))-x(1,ixs(7))
135 . -x(1,ixs(8))-x(1,ixs(9))
137 dy = two*(y1 + y2 + y3 + y4)
138 . -x(2,ixs(2))-x(2,ixs(3))
139 . -x(2,ixs(4))-x(2,ixs(5))
140 . -x(2,ixs(6))-x(2,ixs(7))
141 . -x(2,ixs(8))-x(2,ixs(9))
143 dz = two*(z1 + z2 + z3 + z4)
144 . -x(3,ixs(2))-x(3,ixs(3))
145 . -x(3,ixs(4))-x(3,ixs(5))
146 . -x(3,ixs(6))-x(3,ixs(7))
147 . -x(3,ixs(8))-x(3,ixs(9))
152 dist = one_over_8*(dx*nx+dy*ny+dz*nz) /
max(em15,
norm)
157 t = elbuf_tab(ng)%GBUF%TEMP(i)
159 IF(t<=pm(80,mat))
THEN
160 cond=pm(75,mat)+pm(76,mat)*t
162 cond=pm(77,mat)+pm(78,mat)*t
subroutine initbuf(iparg, ng, mtn, llt, nft, iad, ity, npt, jale, ismstr, jeul, jtur, jthe, jlag, jmult, jhbe, jivf, mid, jpor, jcvt, jclose, jpla, irep, iint, igtyp, israt, isrot, icsen, isorth, isorthg, ifailure, jsms)