From 3de2893d882d2c407375146376fbf9bb54f33e8b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Wed, 30 Apr 2014 13:44:12 +0000 Subject: [PATCH] Constant volume works. CAVEAT: in centermass I had to recalculate all normals of triangles again! This could influence behaviour of the system. --- src/sh.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sh.h b/src/sh.h index 67aeb59..dabece2 100644 --- a/src/sh.h +++ b/src/sh.h @@ -1,11 +1,12 @@ #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); @@ -13,4 +14,5 @@ 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