[Insight-users] bug in itkElement3DMembrane.txx

duboisda@tele.ucl.ac.be duboisda at tele . ucl . ac . be
Fri, 9 May 2003 22:43:47 +0200 (MEST)


  Hi ,

      an error occurs in the method GetStrainDisplacementMatrix in 
itkElement3DMembrane.txx . The line B[0][p]   = shapeDgl[1][i]
 in:
  // below are the dN/dy entries
 	B[0][p]   = shapeDgl[1][i];
	B[3][p+1] = 0.0;
	B[3][p+2] = 0.0;

   has to be replaced by  B[3][p]   = shapeDgl[1][i];
In the other case, the Ke matrix computed in 3D is very bad.



          Aloys


-- 
----------------------------
Aloys du Bois d'Aische
Brigham and Womens Hospital
Surgical Planning Laboratory