From 459ff94855b2659de14ac2ac902b9658d28e19d5 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@CAE-linux.(none)>
Date: Mon, 21 Apr 2014 11:11:37 +0000
Subject: [PATCH] Added complex spherical harmonics.

---
 src/timestep.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/timestep.c b/src/timestep.c
index f24eccd..62e640c 100644
--- a/src/timestep.c
+++ b/src/timestep.c
@@ -10,6 +10,7 @@
 #include "io.h"
 #include "stats.h"
 #include "sh.h"
+#include "shcomplex.h"
 #include "vesicle.h"
 
 ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations, ts_uint start_iteration){
@@ -51,9 +52,9 @@
 			r0=getR0(vesicle);
             if(vesicle->sphHarmonics!=NULL){
 			    preparationSh(vesicle,r0);
-			    calculateYlmi(vesicle);
-			    calculateUlm(vesicle);
-			    storeUlm2(vesicle);
+			    //calculateYlmi(vesicle);
+			    calculateUlmComplex(vesicle);
+			    storeUlmComplex2(vesicle);
 			    saveAvgUlm2(vesicle);
 				fd1=fopen("state.dat","w");
 				fprintf(fd1,"%e %e\n",vesicle->volume, getR0(vesicle));

--
Gitblit v1.9.3