55 REAL(RFREAL) :: xyznodes(3,4)
56 REAL(RFREAL) :: cofgx, cofgy, cofgz
74 REAL(RFREAL) :: xyznodes(3,5)
75 REAL(RFREAL) :: cofgx, cofgy, cofgz
93 REAL(RFREAL) :: xyznodes(3,6)
94 REAL(RFREAL) :: cofgx, cofgy, cofgz
112 REAL(RFREAL) :: xyznodes(3,8)
113 REAL(RFREAL) :: cofgx, cofgy, cofgz
117 cofgx = 0.125_rfreal*(xyznodes(1,1)+xyznodes(1,2)+xyznodes(1,3)+ &
118 xyznodes(1,4)+xyznodes(1,5)+xyznodes(1,6)+ &
119 xyznodes(1,7)+xyznodes(1,8))
120 cofgy = 0.125_rfreal*(xyznodes(2,1)+xyznodes(2,2)+xyznodes(2,3)+ &
121 xyznodes(2,4)+xyznodes(2,5)+xyznodes(2,6)+ &
122 xyznodes(2,7)+xyznodes(2,8))
123 cofgz = 0.125_rfreal*(xyznodes(3,1)+xyznodes(3,2)+xyznodes(3,3)+ &
124 xyznodes(3,4)+xyznodes(3,5)+xyznodes(3,6)+ &
125 xyznodes(3,7)+xyznodes(3,8))
subroutine centroidtetra(xyzNodes, cofgX, cofgY, cofgZ)
subroutine centroidhexa(xyzNodes, cofgX, cofgY, cofgZ)
subroutine centroidprism(xyzNodes, cofgX, cofgY, cofgZ)
subroutine centroidpyramid(xyzNodes, cofgX, cofgY, cofgZ)