From c9d07c3cae70179c3045b92b7dc04f0d2ebcfb89 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Thu, 14 Jun 2012 08:28:19 +0000 Subject: [PATCH] Lastly before debugging. We calculated the area of each triangle, volume function has been changed and data structure adapted for area calculation --- src/co_test.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/co_test.c b/src/co_test.c index 93d5b41..0885510 100644 --- a/src/co_test.c +++ b/src/co_test.c @@ -29,6 +29,15 @@ fprintf(stderr,"r0=%e\n",r0); preparationSh(vesicle,r0); calculateYlmi(vesicle); +calculateUlm(vesicle); + +for(i=0;i<vesicle->sphHarmonics->l;i++){ + for(j=0;j<2*i+1;j++){ + fprintf(stderr,"ulm(%d,%d)=%e\n",i,j+1,vesicle->sphHarmonics->ulm[i][j]); + } +} + + sph_free(vesicle->sphHarmonics); vesicle_free(vesicle); -- Gitblit v1.9.3