SHARP_PACKED alm_info flag

This commit is contained in:
Dag Sverre Seljebotn 2013-01-08 13:31:11 +01:00
parent 80b2f9abff
commit d5679f2c43
3 changed files with 123 additions and 31 deletions

View file

@ -41,6 +41,7 @@ void sharp_make_triangular_alm_info (int lmax, int mmax, int stride,
info->mval = RALLOC(int,mmax+1);
info->mvstart = RALLOC(ptrdiff_t,mmax+1);
info->stride = stride;
info->flags = 0;
int tval = 2*lmax+1;
for (ptrdiff_t m=0; m<=mmax; ++m)
{
@ -59,6 +60,7 @@ void sharp_make_rectangular_alm_info (int lmax, int mmax, int stride,
info->mval = RALLOC(int,mmax+1);
info->mvstart = RALLOC(ptrdiff_t,mmax+1);
info->stride = stride;
info->flags = 0;
for (ptrdiff_t m=0; m<=mmax; ++m)
{
info->mval[m] = m;