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

walter at geodynamics.org walter at geodynamics.org
Tue Feb 13 01:34:28 PST 2007


Author: walter
Date: 2007-02-13 01:34:27 -0800 (Tue, 13 Feb 2007)
New Revision: 6011

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c
Log:
 r1553 at earth:  boo | 2007-02-13 00:49:06 -0800
 Fix a bug where the gradients were not computed, because the result from Mesh_Algorithms_SearchElements was interpreted in reverse



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

Modified: long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c
===================================================================
--- long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c	2007-02-12 20:06:58 UTC (rev 6010)
+++ long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c	2007-02-13 09:34:27 UTC (rev 6011)
@@ -1020,7 +1020,7 @@
 	
 	/* locate which mesh element given coord is in : use inclusive upper boundaries to save
 		the need to use shadow space if possible */
-	if ( Mesh_Algorithms_SearchElements( self->feMesh->algorithms, globalCoord, 
+	if ( !Mesh_Algorithms_SearchElements( self->feMesh->algorithms, globalCoord, 
 					     &elementCoordIn ) )
 	{
 		/* If coord isn't inside domain elements list, bail out */



More information about the cig-commits mailing list