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

walter at geodynamics.org walter at geodynamics.org
Sat Dec 16 23:03:12 PST 2006


Author: walter
Date: 2006-12-16 23:03:12 -0800 (Sat, 16 Dec 2006)
New Revision: 5604

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c
Log:
 r1249 at earth:  boo | 2006-12-16 23:03:17 -0800
 Fixed a bug where derivatives of FeVariables were never correctly set.  This caused output files to be full of zeroes



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

Modified: long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c
===================================================================
--- long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c	2006-12-17 07:03:09 UTC (rev 5603)
+++ long/3D/Gale/trunk/src/StgFEM/Discretisation/src/FeVariable.c	2006-12-17 07:03:12 UTC (rev 5604)
@@ -1029,8 +1029,8 @@
 	
 	/* 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, self->feMesh, globalCoord, 
-					     &elementCoordIn ) )
+	if ( !Mesh_Algorithms_SearchElements( self->feMesh->algorithms, self->feMesh, globalCoord, 
+                                              &elementCoordIn ) )
 	{
 		/* If coord isn't inside domain elements list, bail out */
 		return False;



More information about the cig-commits mailing list