cleanup
This commit is contained in:
parent
c9684732b8
commit
ef2907f050
13 changed files with 91 additions and 183 deletions
|
@ -25,7 +25,7 @@
|
|||
/*! \file sharp_mpi.h
|
||||
* Interface for the spherical transform library with MPI support.
|
||||
*
|
||||
* Copyright (C) 2011,2012 Max-Planck-Society
|
||||
* Copyright (C) 2011-2019 Max-Planck-Society
|
||||
* \author Martin Reinecke \author Dag Sverre Seljebotn
|
||||
*/
|
||||
|
||||
|
@ -40,21 +40,18 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/*! Performs an MPI parallel libsharp SHT job. The interface deliberately does
|
||||
not use the C99 "complex" data type, in order to be callable from C.
|
||||
not use the C99 "complex" data type, in order to be callable from C89 and C++.
|
||||
\param comm the MPI communicator to be used for this SHT
|
||||
\param type the type of SHT
|
||||
\param spin the spin of the quantities to be transformed
|
||||
\param alm contains pointers to the a_lm coefficients. If \a spin==0,
|
||||
alm[0] points to the a_lm of the first SHT, alm[1] to those of the second
|
||||
etc. If \a spin>0, alm[0] and alm[1] point to the a_lm of the first SHT,
|
||||
alm[2] and alm[3] to those of the second, etc. The exact data type of \a alm
|
||||
alm[0] points to the a_lm of the SHT. If \a spin>0, alm[0] and alm[1]
|
||||
point to the two a_lm sets of the SHT. The exact data type of \a alm
|
||||
depends on whether the SHARP_DP flag is set.
|
||||
\param map contains pointers to the maps. If \a spin==0,
|
||||
map[0] points to the map of the first SHT, map[1] to that of the second
|
||||
etc. If \a spin>0, or \a type is SHARP_ALM2MAP_DERIV1, map[0] and map[1]
|
||||
point to the maps of the first SHT, map[2] and map[3] to those of the
|
||||
second, etc. The exact data type of \a map depends on whether the SHARP_DP
|
||||
flag is set.
|
||||
map[0] points to the map of the SHT. If \a spin>0, or \a type is
|
||||
SHARP_ALM2MAP_DERIV1, map[0] and map[1] point to the two maps of the SHT.
|
||||
The exact data type of \a map depends on whether the SHARP_DP flag is set.
|
||||
\param geom_info A \c sharp_geom_info object compatible with the provided
|
||||
\a map arrays. The total map geometry is the union of all \a geom_info
|
||||
objects over the participating MPI tasks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue