From 142a67fe82b830e5c7816914afa62445959c87ca Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 05 Nov 2013 14:04:21 +0000 Subject: [PATCH] changes in bondflip call. No need to bondflip all the bonds, but only as many bonds as there are vertices. Also, rnvec seems to be not needed for bondflip, so it is commented out --- 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..382750b 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; + vesicle->nshell=nshell; retval = vtx_set_global_values(vesicle); retval = pentagonal_dipyramid_vertex_distribution(vesicle->vlist); -- Gitblit v1.9.3