[cig-commits] commit: Fixed a small bug that could cause Inflow problems to die unexpectedly.
Mercurial
hg at geodynamics.org
Mon Nov 24 11:30:58 PST 2008
changeset: 94:89a5f46f22b4
user: MirkoVelic
date: Tue May 13 09:09:56 2008 +0000
files: Utils/src/PCDVC.c
description:
Fixed a small bug that could cause Inflow problems to die unexpectedly.
-- This line, and those below, will be ignored--
M src/PCDVC.c
diff -r 4ce7dfadfb59 -r 89a5f46f22b4 Utils/src/PCDVC.c
--- a/Utils/src/PCDVC.c Fri May 02 02:51:29 2008 +0000
+++ b/Utils/src/PCDVC.c Tue May 13 09:09:56 2008 +0000
@@ -916,7 +916,7 @@ void _PCDVC_Calculate3D( void* pcdvc, vo
j = (int) (nump * (rand() / (RAND_MAX + 1.0)));
deleteIntParticleByIndexWithinCell( intSwarm, matSwarm, lCell_I, j );
nump--;
- splitCount--;
+ splitCount++;
}
}
#if 0
@@ -1353,7 +1353,7 @@ void _PCDVC_Calculate2D( void* pcdvc, vo
j = (int) (nump * (rand() / (RAND_MAX + 1.0)));
deleteIntParticleByIndexWithinCell( intSwarm, matSwarm, lCell_I, j );
nump--;
- splitCount--;
+ splitCount++;
}
}
//if(splitCount) printf("\e[34mnump is now %d splitCount = %d\n",nump,splitCount);;printf("\e[0;37m");
More information about the CIG-COMMITS
mailing list