29 real*8 shp(4,8),xs(3,2),xl(3,8),xnor(3)
38 shp(1,1)=(1.d0-et)*(2.d0*xi+et)/4.d0
39 shp(1,2)=(1.d0-et)*(2.d0*xi-et)/4.d0
40 shp(1,3)=(1.d0+et)*(2.d0*xi+et)/4.d0
41 shp(1,4)=(1.d0+et)*(2.d0*xi-et)/4.d0
42 shp(1,5)=-xi*(1.d0-et)
43 shp(1,6)=(1.d0-et*et)/2.d0
44 shp(1,7)=-xi*(1.d0+et)
45 shp(1,8)=-(1.d0-et*et)/2.d0
49 shp(2,1)=(1.d0-xi)*(2.d0*et+xi)/4.d0
50 shp(2,2)=(1.d0+xi)*(2.d0*et-xi)/4.d0
51 shp(2,3)=(1.d0+xi)*(2.d0*et+xi)/4.d0
52 shp(2,4)=(1.d0-xi)*(2.d0*et-xi)/4.d0
53 shp(2,5)=-(1.d0-xi*xi)/2.d0
54 shp(2,6)=-et*(1.d0+xi)
55 shp(2,7)=(1.d0-xi*xi)/2.d0
56 shp(2,8)=-et*(1.d0-xi)
65 xs(i,j)=xs(i,j)+xl(i,k)*shp(j,k)
72 xnor(1)=xs(2,1)*xs(3,2)-xs(3,1)*xs(2,2)
73 xnor(2)=xs(1,2)*xs(3,1)-xs(3,2)*xs(1,1)
74 xnor(3)=xs(1,1)*xs(2,2)-xs(2,1)*xs(1,2)