From 84af719f37b54185ddd7daf0627421143874905c Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 24 Nov 2013 12:05:41 +0000 Subject: [PATCH] ASK MIHAparaview ! Bug fixed, by removing cell change. --- src/tape | 2 +- src/vertexmove.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tape b/src/tape index 73727fa..8d9080a 100644 --- a/src/tape +++ b/src/tape @@ -31,7 +31,7 @@ #currently only none and smp makes sense. If set to none, smp_cores defaults to 1 multiprocessing=smp #how many cores are allowed to process in SMP? If smp_cores=0, then number of threads will corespond with number of harware processor cores. -smp_cores=6 +smp_cores=4 #how many nodes in cluster? cluster_nodes=50 #max number of processes in distributed (voluntary) environment diff --git a/src/vertexmove.c b/src/vertexmove.c index 60c8f71..a597958 100644 --- a/src/vertexmove.c +++ b/src/vertexmove.c @@ -114,13 +114,18 @@ return TS_FAIL; } } - + +//TODO: IS THAT REALLY NECESSARY? + +/* if(vtx->cell!=vesicle->clist->cell[cellidx]){ pthread_mutex_lock(&vesicle->mutex->cell_modify); retval=cell_add_vertex(vesicle->clist->cell[cellidx],vtx); if(retval==TS_SUCCESS) cell_remove_vertex(backupvtx[0].cell,vtx); pthread_mutex_unlock(&vesicle->mutex->cell_modify); } +*/ + //END MONTE CARLOOOOOOO return TS_SUCCESS; } -- Gitblit v1.9.3