From 50f10f120936a429dc450f58a40951fa5d59458a Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 23 Nov 2013 21:11:15 +0000
Subject: [PATCH] Somewhat evolved paralelism.

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

diff --git a/src/general.h b/src/general.h
index 0c1526b..b4ce974 100644
--- a/src/general.h
+++ b/src/general.h
@@ -154,6 +154,7 @@
         ts_double projArea;
         ts_double relR;
         ts_double solAngle;
+	ts_int locked;
 };
 typedef struct ts_vertex ts_vertex;
 
@@ -169,6 +170,7 @@
 	ts_vertex *vtx2;
     ts_double bond_length;
     ts_double bond_length_dual;
+	ts_bool tainted;
 };
 typedef struct ts_bond ts_bond;
 
@@ -187,6 +189,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;
 
@@ -215,8 +218,9 @@
 
 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;
@@ -235,6 +239,7 @@
     ts_double cm[3];
     ts_double volume;
     ts_spharm *sphHarmonics;
+	ts_uint threads;
 } ts_vesicle;
 
 

--
Gitblit v1.9.3