From 8e58b474db332bf54c3e91684d8ac8d3f14ef11b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Mon, 09 Jul 2012 17:15:37 +0000 Subject: [PATCH] Maybe found a bug... Lash sh was not initialized to 0 after each calculation --- 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