From 79fc9ce029be3e91d3249a654f84c7a1ce1ff9ee Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Thu, 07 Jun 2012 19:46:44 +0000 Subject: [PATCH] spherical harmonics coefficients co fixed and working. Zero based indexing was solved in such a manner, that we allocated more memory that is required by coefficients. --- src/sh.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/sh.h b/src/sh.h index 1255f52..5b8a10c 100644 --- a/src/sh.h +++ b/src/sh.h @@ -6,4 +6,8 @@ ts_double shY(ts_int l,ts_int m,ts_double theta,ts_double fi); +ts_bool precomputeShCoeff(ts_spharm *sph); +ts_spharm *sph_init(ts_vertex_list *vlist, ts_uint l); +ts_bool sph_free(ts_spharm *sph); + #endif -- Gitblit v1.9.3