From 443ba1603235e6cf668d0e24aa794c95941bc597 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Mon, 09 Jul 2012 08:06:53 +0000
Subject: [PATCH] Fix in dipyramid initialization, where we had 0.25*25 as xk

---
 src/general.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/general.h b/src/general.h
index 2fe0ee2..6263862 100644
--- a/src/general.h
+++ b/src/general.h
@@ -151,7 +151,6 @@
         ts_double xk;
         ts_double c;
         ts_uint id;
-        ts_double **Ylm;
         ts_double projArea;
         ts_double relR;
         ts_double solAngle;
@@ -188,6 +187,7 @@
 	ts_double ynorm;
 	ts_double znorm;
     ts_double area; // firstly needed for sh.c
+    ts_double volume; // firstly needed for sh.c
 };
 typedef struct ts_triangle ts_triangle;
 
@@ -216,9 +216,11 @@
 
 typedef struct {
     ts_uint l;
-    ts_uint i;
     ts_double **ulm;
+    ts_double **sumUlm2;
+    ts_uint N;
     ts_double **co;
+    ts_double ***Ylmi;
 } ts_spharm;
 
 

--
Gitblit v1.9.3