From 555fd8b3ff5c121d9faff1000d664fc653c912bf Mon Sep 17 00:00:00 2001 From: mihaf <miha.fosnaric@gmail.com> Date: Wed, 02 Apr 2014 09:43:19 +0000 Subject: [PATCH] In cell.c changed comparison between vertices in a cell from idx to pointer (to avoid bug that two distinct vertices with same idx are not checked for proximity). --- src/spherical_trisurf.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/spherical_trisurf.c b/src/spherical_trisurf.c index 46a2582..7fa40f9 100644 --- a/src/spherical_trisurf.c +++ b/src/spherical_trisurf.c @@ -60,6 +60,16 @@ calculateYlmi(vesicle); calculateUlm(vesicle); +//preloop: +for(i=0;i<1000;i++){ + cell_occupation(vesicle); + for(j=0;j<1000;j++){ + single_timestep(vesicle); + } + centermass(vesicle); + fprintf(stderr, "Preloop %d completed.\n",i+1); +} + nmax=1000; for(i=0;i<nmax;i++){ for(j=0;j<200;j++){ -- Gitblit v1.9.3