From 88f45143117f3ae973be6e3ea5dac8063a7b8ece Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@amalthea>
Date: Sat, 19 Mar 2011 18:35:08 +0000
Subject: [PATCH] Added spherical harmonics routine.I've got a feeling that some harmonics are not calculated correctly!

---
 src/initial_distribution.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/initial_distribution.c b/src/initial_distribution.c
index 6a13a23..a88014b 100644
--- a/src/initial_distribution.c
+++ b/src/initial_distribution.c
@@ -25,6 +25,7 @@
     retval = init_triangles(vesicle);
     retval = init_triangle_neighbours(vesicle);
     retval = init_common_vertex_triangle_neighbours(vesicle);
+    retval = init_normal_vectors(vesicle->tlist);
     retval = mean_curvature_and_energy(vesicle);
  ts_fprintf(stderr,"initial_distribution finished!\n");
 	return vesicle;
@@ -348,7 +349,7 @@
 
 //TODO: probably something wrong with neighbour distribution.
 //                if(vtx[i]==k3 || vtx[i]==k4 || vtx[i]==k5){
-                    if(i==6) ts_fprintf(stdout, "Vtx[%u] > Added to tristar!\n",i);
+    //                    if(i==6) ts_fprintf(stdout, "Vtx[%u] > Added to tristar!\n",i);
                     vertex_add_tristar(vtx[i],tria[k]);
                 }
             }

--
Gitblit v1.9.3