[cig-commits] r5606 - in long/3D/Gale/trunk: . src/StgFEM/Discretisation/src

walter at geodynamics.org walter at geodynamics.org
Sun Dec 17 00:30:41 PST 2006


Author: walter
Date: 2006-12-17 00:30:41 -0800 (Sun, 17 Dec 2006)
New Revision: 5606

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/src/StgFEM/Discretisation/src/TrilinearElementType.c
Log:
 r1253 at earth:  boo | 2006-12-17 00:30:51 -0800
 Fixed a bug where an array was too small, causing crashes in 3D



Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
   - 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1252
   + 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1253

Modified: long/3D/Gale/trunk/src/StgFEM/Discretisation/src/TrilinearElementType.c
===================================================================
--- long/3D/Gale/trunk/src/StgFEM/Discretisation/src/TrilinearElementType.c	2006-12-17 08:30:37 UTC (rev 5605)
+++ long/3D/Gale/trunk/src/StgFEM/Discretisation/src/TrilinearElementType.c	2006-12-17 08:30:41 UTC (rev 5606)
@@ -303,7 +303,7 @@
 	TrilinearElementType*	self = (TrilinearElementType*)elementType;
 	Mesh*			mesh = (Mesh*)_mesh;
 	unsigned		inside;
-	double			bc[3];
+	double			bc[4];
 	static double		lCrds[8][3] = {{-1.0, -1.0, -1.0}, {1.0, -1.0, -1.0}, 
 					       {-1.0, 1.0, -1.0}, {1.0, 1.0, -1.0}, 
 					       {-1.0, -1.0, 1.0}, {1.0, -1.0, 1.0}, 



More information about the cig-commits mailing list