From 30ee9c409ed7c743c693f1e068c1d7393949207a Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Thu, 14 Jun 2012 09:24:31 +0000 Subject: [PATCH] Started with bondflip. There is still an error in calling vtx_remove_neighbour with vertices that are actually not neighbours. --- src/timestep.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/timestep.c b/src/timestep.c index 1e1ffff..83e6f9b 100644 --- a/src/timestep.c +++ b/src/timestep.c @@ -5,6 +5,7 @@ #include "general.h" #include "timestep.h" #include "vertexmove.h" +#include "bondflip.h" ts_bool single_timestep(ts_vesicle *vesicle){ ts_bool retval; @@ -23,7 +24,7 @@ rnvec[2]=drand48(); //find a bond and return a pointer to a bond... //call single_bondflip_timestep... -// retval=single_bondflip_timestep(vesicle,&vesicle->blist.bond[i],rnvec); + retval=single_bondflip_timestep(vesicle,vesicle->blist->bond[i],rnvec); } if(retval); -- Gitblit v1.9.3