From e818ba5bcc461af545665c78157be4e52252aa1c Mon Sep 17 00:00:00 2001 From: Miha <miha.fosnaric@fe.uni-lj.si> Date: Mon, 11 Jul 2016 11:52:30 +0000 Subject: [PATCH] Merge branch 'master' of https://bitbucket.org/samop/trisurf-ng --- src/co_test.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/co_test.c b/src/co_test.c index 54e18b7..0a5e23e 100644 --- a/src/co_test.c +++ b/src/co_test.c @@ -1,3 +1,4 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #include "general.h" #include "sh.h" #include <stdlib.h> @@ -40,8 +41,10 @@ preparationSh(vesicle,r0); calculateYlmi(vesicle); +/* ts_coord *coord=(ts_coord *)malloc(sizeof(ts_coord)); ts_double fi, theta; + for(i=0;i<vesicle->vlist->n;i++){ cart2sph(coord,vesicle->vlist->vtx[i]->x, vesicle->vlist->vtx[i]->y, vesicle->vlist->vtx[i]->z); @@ -54,15 +57,15 @@ } free(coord); +*/ 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]); } } - +storeUlm2(vesicle); sph_free(vesicle->sphHarmonics); vesicle_free(vesicle); -- Gitblit v1.9.3