From d5d78a49c6b51fb1f6f0661d063034eaf65e02f7 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 25 Sep 2019 09:20:36 +0000
Subject: [PATCH] Constant volume and constant area fix. Removed spherical harmonics calculations in simulations. No ulm2.cvs and state.dat files are produced anymore

---
 src/sh.h |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/sh.h b/src/sh.h
index 5ce02c1..ae5cd3e 100644
--- a/src/sh.h
+++ b/src/sh.h
@@ -1,15 +1,19 @@
+/* vim: set ts=4 sts=4 sw=4 noet : */
 #ifndef _H_SH
 #define _H_SH
 #include "general.h"
-
-ts_double plgndr(ts_int l, ts_int m, ts_float x);
+ts_bool storeUlm2(ts_vesicle *vesicle);
+ts_double plgndr(ts_int l, ts_int m, ts_double x);
 ts_double shY(ts_int l,ts_int m,ts_double theta,ts_double fi);
 
-
+ts_bool *cart2sph(ts_coord *coord, ts_double x, ts_double y, ts_double z);
+ts_bool sph2cart(ts_coord *coord);
 ts_bool precomputeShCoeff(ts_spharm *sph);
 ts_spharm *sph_init(ts_vertex_list *vlist, ts_uint l);
 ts_bool sph_free(ts_spharm *sph);
 ts_double getR0(ts_vesicle *vesicle);
 ts_bool preparationSh(ts_vesicle *vesicle, ts_double r0);
 ts_bool calculateYlmi(ts_vesicle *vesicle);
+ts_bool calculateUlm(ts_vesicle *vesicle);
+ts_bool saveAvgUlm2(ts_vesicle *vesicle);
 #endif

--
Gitblit v1.9.3