36 use element_mod ,
only : nixc
40#include "implicit_f.inc"
45 INTEGER N, IXC(NIXC,*)
51 INTEGER SON,LEVEL,IP,NLEV,N1,N2,N3,N4
53 . x13,y13,z13,x24,y24,z24,nx,ny,nz,aaa
65 x13 = x(1,n3) - x(1,n1)
66 y13 = x(2,n3) - x(2,n1)
67 z13 = x(3,n3) - x(3,n1)
69 x24 = x(1,n4) - x(1,n2)
70 y24 = x(2,n4) - x(2,n2)
71 z24 = x(3,n4) - x(3,n2)
73 nx = y13*z24 - z13*y24
74 ny = z13*x24 - x13*z24
75 nz = x13*y24 - y13*x24
77 aaa=one/
max(em30,sqrt(nx*nx+ny*ny+nz*nz))
82 nodnorm(1,n1)=nodnorm(1,n1)+nx
83 nodnorm(2,n1)=nodnorm(2,n1)+ny
84 nodnorm(3,n1)=nodnorm(3,n1)+nz
86 nodnorm(1,n2)=nodnorm(1,n2)+nx
87 nodnorm(2,n2)=nodnorm(2,n2)+ny
88 nodnorm(3,n2)=nodnorm(3,n2)+nz
90 nodnorm(1,n3)=nodnorm(1,n3)+nx
91 nodnorm(2,n3)=nodnorm(2,n3)+ny
92 nodnorm(3,n3)=nodnorm(3,n3)+nz
94 nodnorm(1,n4)=nodnorm(1,n4)+nx
95 nodnorm(2,n4)=nodnorm(2,n4)+ny
96 nodnorm(3,n4)=nodnorm(3,n4)+nz
114 use element_mod ,
only : nixtg
118#include "implicit_f.inc"
119#include "comlock.inc"
123 INTEGER N, IXTG(NIXTG,*)
131 . x12,y12,z12,x13,y13,z13,nx,ny,nz,aaa
141 x13 = x(1,n3) - x(1,n1)
142 y13 = x(2,n3) - x(2,n1)
143 z13 = x(3,n3) - x(3,n1)
145 x12 = x(1,n2) - x(1,n1)
146 y12 = x(2,n2) - x(2,n1)
147 z12 = x(3,n2) - x(3,n1)
149 nx = y12*z13 - z12*y13
150 ny = z12*x13 - x12*z13
151 nz = x12*y13 - y12*x13
153 aaa=one/
max(em30,sqrt(nx*nx+ny*ny+nz*nz))
158 nodnorm(1,n1)=nodnorm(1,n1)+nx
159 nodnorm(2,n1)=nodnorm(2,n1)+ny
160 nodnorm(3,n1)=nodnorm(3,n1)+nz
162 nodnorm(1,n2)=nodnorm(1,n2)+nx
163 nodnorm(2,n2)=nodnorm(2,n2)+ny
164 nodnorm(3,n2)=nodnorm(3,n2)+nz
166 nodnorm(1,n3)=nodnorm(1,n3)+nx
167 nodnorm(2,n3)=nodnorm(2,n3)+ny
168 nodnorm(3,n3)=nodnorm(3,n3)+nz
subroutine admdiv(ixc, ipartc, ixtg, iparttg, ipart, itask, icontact, iparg, x, ms, in, rcontact, elbuf_tab, nodft, nodlt, igeo, ipm, sh4tree, padmesh, msc, inc, sh3tree, mstg, intg, ptg, acontact, pcontact, err_thk_sh4, err_thk_sh3, mscnd, incnd, pm, mcp, mcpc, mcptg, itherm_fe)