Commit ed4ad723 authored by Nathanaël Schaeffer's avatar Nathanaël Schaeffer
Browse files

fix documentation

parent d5d75640
......@@ -1342,6 +1342,14 @@ void SH_to_spat_grad(shtns_cfg shtns, cplx *alm, double *gt, double *gp)
}
*/
#ifdef _GCC_VEC_
typedef double rndu __attribute__ ((vector_size (VSIZE2*8), aligned (8))); ///< \internal UNALIGNED vector that contains a complex number
typedef double v2du __attribute__ ((vector_size (16), aligned (8))); ///< \internal UNALIGNED vector that contains a complex number
#else
typedef rnd rndu; ///< \internal
typedef v2d v2du; ///< \internal
#endif
/** \addtogroup rotation Rotations of Spherical Harmonic fields.
Rotation of spherical harmonics, using an on-the-fly algorithm (does not store the rotation matrix) inspired by
the GUMEROV's algorithm to generate the Wigner-d matrices describing rotation of Spherical Harmonics.
......@@ -1632,15 +1640,6 @@ void shtns_rotation_apply_cplx(shtns_rot r, cplx* Zlm, cplx* Rlm)
}
*/
#ifdef _GCC_VEC_
typedef double rndu __attribute__ ((vector_size (VSIZE2*8), aligned (8))); ///< \internal UNALIGNED vector that contains a complex number
typedef double v2du __attribute__ ((vector_size (16), aligned (8))); ///< \internal UNALIGNED vector that contains a complex number
#else
typedef rnd rndu; ///< \internal
typedef v2d v2du; ///< \internal
#endif
void shtns_rotation_apply_real(shtns_rot r, cplx* Qlm, cplx* Rlm)
{
const int lmax = r->lmax+1;
......
......@@ -320,6 +320,8 @@ void SHqst_to_spat_l(shtns_cfg, cplx *Qlm, cplx *Slm, cplx *Tlm, double *Vr, dou
#define SH_to_grad_spat_l(shtns, S,Gt,Gp,ltr) SHsph_to_spat_l(shtns, S, Gt, Gp, ltr)
/// \name Legendre transform at given m (no fft) and truncated at given degree l <= lmax
/// The input and output arrays contain only the specified m=im*mres, that is spatial size is nlat
/// and spectral size is lmax+1-m, containing only the coefficients of the given m.
///@{
void spat_to_SH_ml(shtns_cfg, int im, cplx *Vr, cplx *Ql, int ltr);
void SH_to_spat_ml(shtns_cfg, int im, cplx *Ql, cplx *Vr, int ltr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment