Trisurf Monte Carlo simulator
Samo Penic
2013-11-24 84af719f37b54185ddd7daf0627421143874905c
ASK MIHAparaview ! Bug fixed, by removing cell change.
2 files modified
9 ■■■■ changed files
src/tape 2 ●●● patch | view | raw | blame | history
src/vertexmove.c 7 ●●●● patch | view | raw | blame | history
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
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;
}