SHTOOLS --- Tools for working with spherical harmonics

> Home > Documentation > Fortran 95 > Spherical Harmonic I/O and Storage

SHVectorToCilm

Convert a 1-dimensional indexed vector of real spherical harmonic coefficients to a three-dimensional array.

Usage

call SHVectorToCilm (vector, cilm, lmax)

Parameters

vector : input, real*8, dimension ( (lmax+1)**2 )
The input 1-D indexed array of real spherical harmonic coefficients.
cilm : output, real*8, dimension (2, lmax+1, lmax+1)
The 3-D arrary of output real spherical harmonic coefficients.
lmax : input, integer
The maximum degree of the output coefficients.

Description

SHVectorToCilm will convert a 1-dimensional indexed vector of real spherical harmonic coefficients to a three-dimensional array. The degree l, order m, and i (1 = cosine, 2 = sine) corresponds to the index `l**2+(i-1)*l+m+1.

See also

shvectortocilm, yilmindex, shcilmtocindex, shcindextocilm

> Home > Documentation > Fortran 95 > Spherical Harmonic I/O

Institut de Physique du Globe de Paris University of Sorbonne Paris Cité © 2016 SHTOOLS