00001 /* 00002 * This file is part of libsharp. 00003 * 00004 * libsharp is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * libsharp is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with libsharp; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 /* 00020 * libsharp is being developed at the Max-Planck-Institut fuer Astrophysik 00021 * and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt 00022 * (DLR). 00023 */ 00024 00025 /*! \file sharp_almhelpers.h 00026 * SHARP helper function for the creation of a_lm data structures 00027 * 00028 * Copyright (C) 2008-2011 Max-Planck-Society 00029 * \author Martin Reinecke 00030 */ 00031 00032 #ifndef PLANCK_SHARP_ALMHELPERS_H 00033 #define PLANCK_SHARP_ALMHELPERS_H 00034 00035 #include "sharp_lowlevel.h" 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif 00040 00041 /*! Initialises an a_lm data structure according to the scheme used by 00042 Healpix_cxx. 00043 \ingroup almgroup */ 00044 void sharp_make_triangular_alm_info (int lmax, int mmax, int stride, 00045 sharp_alm_info **alm_info); 00046 00047 /*! Initialises an a_lm data structure according to the scheme used by 00048 Fortran Healpix 00049 \ingroup almgroup */ 00050 void sharp_make_rectangular_alm_info (int lmax, int mmax, int stride, 00051 sharp_alm_info **alm_info); 00052 00053 #ifdef __cplusplus 00054 } 00055 #endif 00056 00057 #endif