From 79fc9ce029be3e91d3249a654f84c7a1ce1ff9ee Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Thu, 07 Jun 2012 19:46:44 +0000 Subject: [PATCH] spherical harmonics coefficients co fixed and working. Zero based indexing was solved in such a manner, that we allocated more memory that is required by coefficients. --- src/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 9112278..f331f12 100644 --- a/src/main.c +++ b/src/main.c @@ -60,11 +60,11 @@ vtx_list_free(vlist1); printf("Tests complete.\n"); -vesicle=initial_distribution_dipyramid(8,60,60,60,0.15); +vesicle=initial_distribution_dipyramid(17,60,60,60,0.15); //parsetape(vesicle,&i); //these four must come from parsetype! -vesicle->dmax=1.67; +vesicle->dmax=1.67*1.67; vesicle->stepsize=0.15; vesicle->clist->max_occupancy=8; vesicle->bending_rigidity=25.0; -- Gitblit v1.9.3