From e19e790e95f14ca69a7ce9c5e45d815fe21df36e Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Tue, 10 Jul 2012 12:33:43 +0000 Subject: [PATCH] It seems bondflip is fixed. Before 'for' loops I had to set j=0 in vertex.c and triangle.c in remove_neighbour --- 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