54 numnp,numcstet,numat_vol,nstart,nend,totalmass)
88 REAL*8,
DIMENSION(1:numat_vol) :: rho
90 REAL*8,
DIMENSION(1:numnp) :: xm
92 INTEGER,
DIMENSION(1:numcstet) :: matcstet
94 INTEGER,
DIMENSION(1:10,1:numcstet) :: lmcstet
96 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
100 INTEGER :: n1,n2,n3,n4,n5,n6
101 INTEGER :: n7,n8,n9,n10
102 INTEGER ::
i,nstart,nend
104 REAL*8 :: x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
106 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
107 REAL*8 :: c11,c21,c31
149 c11 = y24*z34 - z24*y34
150 c21 = -( x24*z34 - z24*x34 )
151 c31 = x24*y34 - y24*x34
154 vx6 = -( x14*c11 + y14*c21 + z14*c31 )
162 x = rho(
m)*vx6/(6.d0*648.d0)
165 print*,
'ROCFRAC: NEG, Volume... STOPPING'
166 print*,
'ROCFRAC: ELEMENT =',
i
170 xm(n1) = xm(n1) +
x*18.d0
171 xm(n2) = xm(n2) +
x*18.d0
172 xm(n3) = xm(n3) +
x*18.d0
173 xm(n4) = xm(n4) +
x*18.d0
174 xm(n5) = xm(n5) +
x*96.d0
175 xm(n6) = xm(n6) +
x*96.d0
176 xm(n7) = xm(n7) +
x*96.d0
177 xm(n8) = xm(n8) +
x*96.d0
178 xm(n9) = xm(n9) +
x*96.d0
179 xm(n10) = xm(n10) +
x*96.d0
subroutine v3d10_mass(coor, lmcstet, matcstet, rho, xm, numnp, numcstet, numat_vol, nstart, nend, TotalMass)
int volume(const block *b)