SHTns  2.6.5
Data Fields
shtns_info Struct Reference

Data Fields

const unsigned int nlm
 total number of (l,m) spherical harmonics components.
 
const unsigned short lmax
 maximum degree (lmax) of spherical harmonics.
 
const unsigned short mmax
 maximum order (mmax*mres) of spherical harmonics.
 
const unsigned short mres
 the periodicity along the phi axis.
 
const unsigned short nphi
 number of spatial points in Phi direction (longitude)
 
const unsigned short nlat
 number of spatial points in Theta direction (latitude) ...
 
const unsigned short nlat_2
 ...and half of it (using (shtns.nlat+1)/2 allows odd shtns.nlat.)
 
const int *const lmidx
 (virtual) index in SH array of given im (size mmax+1) : LiM(l,im) = lmidx[im] + l
 
const unsigned short *const li
 degree l for given mode index (size nlm) : li[lm]
 
const unsigned short *const mi
 order m for given mode index (size nlm) : mi[lm]
 
const double *const ct
 cos(theta) array (size nlat)
 
const double *const st
 sin(theta) array (size nlat)
 
const unsigned int nspat
 number of real numbers that must be allocated in a spatial field.
 

Detailed Description

Examples:
SHT_example.c.

The documentation for this struct was generated from the following file: