HOME | DOWNLOAD | DOCUMENTATION | FAQ |
> Home > Documentation > Fortran 95 > Spherical Harmonic I/O and Storage
SHCindexToCilm
Convert a two-dimensional indexed array of spherical harmonic coefficients to a three-dimensional array.
Usage
call SHCindexToCilm (cindex
, cilm
, degmax
)
Parameters
cindex
: input, real*8, dimension (2, (lmaxin
+1)*(lmaxin
+2)/2)- The indexed spherical harmonic coefficients.
cilm
: output, real*8, dimension (2,degmax
+1,degmax
+1)- The input spherical harmonic coefficients.
cilm(1,:,:)
andcilm(2,:,:)
correspond to either the real and imaginary components, or cosine and sine coefficients, respectively. degmax
: input, optional, integer, default =lmaxin
- The maximum degree of the output coefficients.
Description
SHCindexToCilm
will convert a two-dimensional indexed array of spherical harmonic coefficients to a three-dimensional array of complex spherical harmonic coefficients. The degree l
and order m
corresponds to the index l*(l+1)/2+m+1
. The default is to convert the entire array cindex
, but a subset of this array can be converted by specifying the optional argument degmax
.
See also
shcindextocilm, shcindextovector, shvectortocilm
> Home > Documentation > Fortran 95 > Spherical Harmonic I/O
Institut de Physique du Globe de Paris | University of Sorbonne Paris Cité | © 2016 SHTOOLS |