LevelS SHT library  3.50
sharp_almhelpers.h
Go to the documentation of this file.
1 /*
2  * This file is part of libsharp.
3  *
4  * libsharp is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * libsharp is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with libsharp; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 /*
20  * libsharp is being developed at the Max-Planck-Institut fuer Astrophysik
21  * and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt
22  * (DLR).
23  */
24 
25 /*! \file sharp_almhelpers.h
26  * SHARP helper function for the creation of a_lm data structures
27  *
28  * Copyright (C) 2008-2016 Max-Planck-Society
29  * \author Martin Reinecke
30  */
31 
32 #ifndef PLANCK_SHARP_ALMHELPERS_H
33 #define PLANCK_SHARP_ALMHELPERS_H
34 
35 #include "sharp_lowlevel.h"
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /*! Initialises an a_lm data structure according to the scheme used by
42  Healpix_cxx.
43  \ingroup almgroup */
44 void sharp_make_triangular_alm_info (int lmax, int mmax, int stride,
45  sharp_alm_info **alm_info);
46 
47 /*! Initialises an a_lm data structure according to the scheme used by
48  Fortran Healpix
49  \ingroup almgroup */
50 void sharp_make_rectangular_alm_info (int lmax, int mmax, int stride,
51  sharp_alm_info **alm_info);
52 
53 /*! Initialises alm_info for mmajor, real, packed spherical harmonics.
54  Pass \a mmax + 1 to nm and NULL to \a ms in order to use everything;
55  otherwise you can pick a subset of m to process (should only be used
56  for MPI parallelization).
57  \ingroup almgroup */
58 void sharp_make_mmajor_real_packed_alm_info (int lmax, int stride,
59  int nm, const int *ms, sharp_alm_info **alm_info);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif
void sharp_make_triangular_alm_info(int lmax, int mmax, int stride, sharp_alm_info **alm_info)
void sharp_make_mmajor_real_packed_alm_info(int lmax, int stride, int nm, const int *ms, sharp_alm_info **alm_info)
void sharp_make_rectangular_alm_info(int lmax, int mmax, int stride, sharp_alm_info **alm_info)

Generated on Mon Dec 10 2018 10:24:20 for LevelS SHT library