[cig-commits] commit: Remove some debug printf's for particle removal because they are too verbose

Mercurial hg at geodynamics.org
Wed Jan 6 06:00:30 PST 2010


changeset:   311:2749180508f1
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed Jan 06 05:56:36 2010 -0800
files:       PopulationControl/src/EscapedRoutine.c
description:
Remove some debug printf's for particle removal because they are too verbose


diff -r 02c8a26af81b -r 2749180508f1 PopulationControl/src/EscapedRoutine.c
--- a/PopulationControl/src/EscapedRoutine.c	Mon Nov 30 10:19:52 2009 -0800
+++ b/PopulationControl/src/EscapedRoutine.c	Wed Jan 06 05:56:36 2010 -0800
@@ -283,28 +283,7 @@ void EscapedRoutine_RemoveParticles( voi
 	Particle_InCellIndex  lastParticle_IndexWithinCell;
 	SizeT                 particleSize        = swarm->particleExtensionMgr->finalSize;
 
-	#if DEBUG
-	if ( Stream_IsPrintableLevel( self->debug, 2 ) ) {
-		Journal_Printf( self->debug, "Particles to remove:\n{ " );
-		for ( array_I = 0 ; array_I < self->particlesToRemoveCount - 1 ; array_I++ ) {
-			Journal_Printf( self->debug, "%u, ", self->particlesToRemoveList[ array_I ] );
-		}
-		Journal_Printf( self->debug, "%u }\n", self->particlesToRemoveList[ array_I ] );
-	}
-	#endif
-
-
 	EscapedRoutine_SortParticleList( self );
-
-	#if DEBUG
-	if ( Stream_IsPrintableLevel( self->debug, 2 ) ) {
-		Journal_Printf( self->debug, "Particles to remove:\n{ " );
-		for ( array_I = 0 ; array_I < self->particlesToRemoveCount - 1 ; array_I++ ) {
-			Journal_Printf( self->debug, "%u, ", self->particlesToRemoveList[ array_I ] );
-		}
-		Journal_Printf( self->debug, "%u }\n", self->particlesToRemoveList[ array_I ] );
-	}
-	#endif
 
 	for ( array_I = self->particlesToRemoveCount - 1 ; array_I < self->particlesToRemoveCount ; array_I-- ) {
 		particleToRemove_I               = self->particlesToRemoveList[ array_I ];



More information about the CIG-COMMITS mailing list