Trisurf Monte Carlo simulator
Samo Penic
2014-04-28 2b14da2e8f012d7b1bf669af085ab75d87f378f1
src/vertexmove.c
@@ -145,7 +145,7 @@
    return TS_FAIL; 
    }
}
   //accepted
//   oldcellidx=vertex_self_avoidance(vesicle, &backupvtx[0]);
   if(vtx->cell!=vesicle->clist->cell[cellidx]){
      retval=cell_add_vertex(vesicle->clist->cell[cellidx],vtx);
@@ -153,6 +153,8 @@
      if(retval==TS_SUCCESS) cell_remove_vertex(backupvtx[0].cell,vtx);
      
   }
    if(vesicle->tape->constvolswitch == 1);
//   if(oldcellidx);
    //END MONTE CARLOOOOOOO
    return TS_SUCCESS;