SHTns 3.7
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 nlat_2
 half of spatial points in Theta direction (using (shtns.nlat+1)/2 allows odd shtns.nlat.)
 
const unsigned int nlat
 number of spatial points in Theta direction (latitude) ...
 
const unsigned int nphi
 number of spatial points in Phi direction (longitude)
 
const unsigned int nspat
 number of real numbers that must be allocated in a spatial field.
 
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 nlat_padded
 number of spatial points in Theta direction, including padding.
 
const unsigned int nlm_cplx
 number of complex coefficients to represent a complex-valued spatial field.
 

Detailed Description

Examples
SHT_example.c.

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