|
LevelS SHT library
3.50
|
Enumerations | |
| enum | sharp_almflags { SHARP_PACKED = 1, SHARP_REAL_HARMONICS = 1<<6 } |
Functions | |
| void | sharp_make_triangular_alm_info (int lmax, int mmax, int stride, sharp_alm_info **alm_info) |
| void | sharp_make_rectangular_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_alm_info (int lmax, int mmax, int stride, const ptrdiff_t *mstart, sharp_alm_info **alm_info) |
| void | sharp_make_general_alm_info (int lmax, int nm, int stride, const int *mval, const ptrdiff_t *mvstart, int flags, sharp_alm_info **alm_info) |
| ptrdiff_t | sharp_alm_index (const sharp_alm_info *self, int l, int mi) |
| ptrdiff_t | sharp_alm_count (const sharp_alm_info *self) |
| void | sharp_destroy_alm_info (sharp_alm_info *info) |
| enum sharp_almflags |
alm_info flags
Definition at line 89 of file sharp_lowlevel.h.
| void sharp_make_triangular_alm_info | ( | int | lmax, |
| int | mmax, | ||
| int | stride, | ||
| sharp_alm_info ** | alm_info | ||
| ) |
Initialises an a_lm data structure according to the scheme used by Healpix_cxx.
Definition at line 35 of file sharp_almhelpers.c.
| void sharp_make_rectangular_alm_info | ( | int | lmax, |
| int | mmax, | ||
| int | stride, | ||
| sharp_alm_info ** | alm_info | ||
| ) |
Initialises an a_lm data structure according to the scheme used by Fortran Healpix
Definition at line 54 of file sharp_almhelpers.c.
| void sharp_make_mmajor_real_packed_alm_info | ( | int | lmax, |
| int | stride, | ||
| int | nm, | ||
| const int * | ms, | ||
| sharp_alm_info ** | alm_info | ||
| ) |
Initialises alm_info for mmajor, real, packed spherical harmonics. Pass mmax + 1 to nm and NULL to ms in order to use everything; otherwise you can pick a subset of m to process (should only be used for MPI parallelization).
Definition at line 72 of file sharp_almhelpers.c.
| void sharp_make_alm_info | ( | int | lmax, |
| int | mmax, | ||
| int | stride, | ||
| const ptrdiff_t * | mstart, | ||
| sharp_alm_info ** | alm_info | ||
| ) |
Creates an a_lm data structure from the following parameters:
| lmax | maximum l quantum number (>=0) |
| mmax | maximum m quantum number (0<= mmax <= lmax) |
| stride | the stride between entries with identical m, and l differing by 1. |
| mstart | the index of the (hypothetical) coefficient with the quantum numbers 0,m. Must have mmax+1 entries. |
| alm_info | will hold a pointer to the newly created data structure |
| void sharp_make_general_alm_info | ( | int | lmax, |
| int | nm, | ||
| int | stride, | ||
| const int * | mval, | ||
| const ptrdiff_t * | mvstart, | ||
| int | flags, | ||
| sharp_alm_info ** | alm_info | ||
| ) |
Creates an a_lm data structure which from the following parameters:
| lmax | maximum l quantum number (>=0) |
| nm | number of different m (0<=nm<=lmax+1) |
| stride | the stride between entries with identical m, and l differing by 1. |
| mval | array with nm entries containing the individual m values |
| mvstart | array with nm entries containing the (hypothetical) indices of the coefficients with the quantum numbers 0,mval[i] |
| flags | a combination of sharp_almflags (pass 0 unless you know you need this) |
| alm_info | will hold a pointer to the newly created data structure |
| ptrdiff_t sharp_alm_index | ( | const sharp_alm_info * | self, |
| int | l, | ||
| int | mi | ||
| ) |
Returns the index of the coefficient with quantum numbers l, mval[mi].
| ptrdiff_t sharp_alm_count | ( | const sharp_alm_info * | self | ) |