[cig-commits] commit: There were some missing parameters to the Swarm

Mercurial hg at geodynamics.org
Mon Nov 24 11:30:15 PST 2008


changeset:   6:1f2842ebe6dc
user:        LukeHodkinson
date:        Mon May 21 00:30:51 2007 +0000
files:       MaterialPoints/src/MaterialPointsSwarm.c Weights/tests/plugins/testElementIntegral.c
description:
There were some missing parameters to the Swarm
construction.


diff -r 4692e77a84ee -r 1f2842ebe6dc MaterialPoints/src/MaterialPointsSwarm.c
--- a/MaterialPoints/src/MaterialPointsSwarm.c	Wed May 16 01:13:21 2007 +0000
+++ b/MaterialPoints/src/MaterialPointsSwarm.c	Mon May 21 00:30:51 2007 +0000
@@ -197,8 +197,10 @@ void _MaterialPointsSwarm_Init(
 			Variable_DataType_Int ); /* Should be unsigned int */
 
 	/* If we have an escaped routine, clear the defensive flag. */
+#if 0
 	if( self->escapedRoutine )
 		self->particleCommunicationHandler->defensive = False;
+#endif
 }
 
 /*------------------------------------------------------------------------------------------------------------------------
diff -r 4692e77a84ee -r 1f2842ebe6dc Weights/tests/plugins/testElementIntegral.c
--- a/Weights/tests/plugins/testElementIntegral.c	Wed May 16 01:13:21 2007 +0000
+++ b/Weights/tests/plugins/testElementIntegral.c	Mon May 21 00:30:51 2007 +0000
@@ -38,7 +38,7 @@
 **  License along with this library; if not, write to the Free Software
 **  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 **
-** $Id: testElementIntegral.c 456 2007-04-27 06:21:01Z LukeHodkinson $
+** $Id: testElementIntegral.c 463 2007-05-21 00:30:51Z LukeHodkinson $
 **
 **~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
 
@@ -220,7 +220,7 @@ void PICellerator_testElementIntegral( D
 	for ( loop_I = 0 ; loop_I < count ; loop_I++ ) {
 		/* Layout Particles */
 		Swarm_Random_Seed( (long) loop_I );
-		_Swarm_InitialiseParticles( materialSwarm , data);
+		_Swarm_InitialiseParticles( materialSwarm, data );
 
 		_IntegrationPointsSwarm_UpdateHook( NULL, integrationSwarm );
 		



More information about the CIG-COMMITS mailing list