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/initial_distribution.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/initial_distribution.c b/src/initial_distribution.c index a7a8202..2444e15 100644 --- a/src/initial_distribution.c +++ b/src/initial_distribution.c @@ -14,8 +14,14 @@ ts_fprintf(stderr,"Starting initial_distribution on vesicle with %u shells!...\n",nshell); ts_bool retval; ts_uint no_vertices=5*nshell*nshell+2; + + ts_vesicle *vesicle=init_vesicle(no_vertices,ncmax1,ncmax2,ncmax3,stepsize); + +//TODO: debugging only. Please remove ASAP! + vesicle->bending_rigidity=25.0*25.0; + vesicle->nshell=nshell; retval = vtx_set_global_values(vesicle); retval = pentagonal_dipyramid_vertex_distribution(vesicle->vlist); -- Gitblit v1.9.3