mpi_map2alm_simple*

This subroutine provides a simplified (one-line) interface to the MPI version of map2alm. It supports both temperature and polarization inputs in both single and double precision. It must only be run by all processors in the MPI communicator.

Location in HEALPix directory tree: src/f90/mod/mpi_alm_tools.f90 


FORMAT

call mpi_map2alm_simple*( comm, map, alms, [zbounds], [w8ring] )


ARGUMENTS

name & dimensionality kind in/out description
       
comm I4B IN MPI communicator.
map(0:npix-1,1:nmaps) SP or DP IN input map. If nmaps=1, only temperature information is included; if nmaps=3, polarization information is included
alms(1:nmaps,0:lmax,0:nmax) SPC or DPC IN output alms. nmaps must equal that of the input map
zbounds(1:2) DP IN section of the map on which to perform the $a_{lm}$ analysis, expressed in terms of $z=\sin({\rm latitude}) =
\cos(\theta)$. If zbounds(1)$<$zbounds(2), it is performed on the strip zbounds(1)$<z<$zbounds(2); if not, it is performed outside the strip zbounds(2)$\le z \le$zbounds(1). If absent, the whole map is processed. (OPTIONAL)
w8ring_TQU(1:2*nsmax, 1:p) DP IN ring weights for quadrature corrections. If ring weights are not used, this array should be 1 everywhere. p is 1 for a temperature analysis and 3 for (T,Q,U). (OPTIONAL)


EXAMPLE:

call mpi_map2alm_simple(comm, map, alms)
This example executes a parallel map2alm operation through the one-line interface. Although all processors must supply allocated arrays to the routine, only the root processor's information will be used as input, and only the root processor's alms will be complete after execution.


MODULES & ROUTINES

This section lists the modules and routines used by mpi_map2alm_simple*.

alm_tools
module


RELATED ROUTINES

This section lists the routines related to mpi_map2alm_simple*

mpi_cleanup_alm_tools
Frees memory that is allocated by the current routine.
mpi_initialize_alm_tools
Allocates memory and defines variables for the mpi_alm_tools module.
mpi_alm2map
Routine for executing a parallel inverse spherical harmonics transform (root processor interface)
mpi_alm2map_slave
Routine for executing a parallel inverse spherical harmonics transform (slave processor interface)
mpi_map2alm
Routine for executing a parallel spherical harmonics transform (root processor interface)
mpi_map2alm_slave
Routine for executing a parallel spherical harmonics transform (slave processor interface)
mpi_alm2map_simple
One-line interface to the parallel inverse spherical harmonics transform

Version 3.83, 2024-11-13