SHTns 3.7
|
These do only require a call to shtns_create, but not to shtns_set_grid. More...
Functions | |
void | SH_to_point_cplx (shtns_cfg shtns, cplx *alm, double cost, double phi, cplx *z_out) |
Evaluate scalar SH representation of complex field alm at physical point defined by cost = cos(theta) and phi. | |
double | SH_to_point (shtns_cfg shtns, cplx *Qlm, double cost, double phi) |
Evaluate scalar SH representation Qlm at physical point defined by cost = cos(theta) and phi. | |
void | SH_to_grad_point (shtns_cfg shtns, cplx *DrSlm, cplx *Slm, double cost, double phi, double *gr, double *gt, double *gp) |
void | SHqst_to_point (shtns_cfg shtns, cplx *Qlm, cplx *Slm, cplx *Tlm, double cost, double phi, double *vr, double *vt, double *vp) |
Evaluate vector SH representation Qlm at physical point defined by cost = cos(theta) and phi. | |
void | SHqst_to_lat (shtns_cfg shtns, cplx *Qlm, cplx *Slm, cplx *Tlm, double cost, double *vr, double *vt, double *vp, int nphi, int ltr, int mtr) |
synthesis at a given latitude, on nphi equispaced longitude points. | |
void | SH_to_lat (shtns_cfg shtns, cplx *Qlm, double cost, double *vr, int nphi, int ltr, int mtr) |
synthesis at a given latitude, on nphi equispaced longitude points. | |
These do only require a call to shtns_create, but not to shtns_set_grid.
These functions are not optimized and can be relatively slow, but they provide good reference implemenation for the transforms.
void SH_to_lat | ( | shtns_cfg | shtns, |
cplx * | Qlm, | ||
double | cost, | ||
double * | vr, | ||
int | nphi, | ||
int | ltr, | ||
int | mtr ) |
synthesis at a given latitude, on nphi equispaced longitude points.
vr arrays must have nphi doubles allocated. It does not require a previous call to shtns_set_grid, but it is NOT thread-safe, unless called with a different shtns_cfg
Evaluate scalar SH representation of complex field alm at physical point defined by cost = cos(theta) and phi.
writes value to z_out.
void SHqst_to_lat | ( | shtns_cfg | shtns, |
cplx * | Qlm, | ||
cplx * | Slm, | ||
cplx * | Tlm, | ||
double | cost, | ||
double * | vr, | ||
double * | vt, | ||
double * | vp, | ||
int | nphi, | ||
int | ltr, | ||
int | mtr ) |
synthesis at a given latitude, on nphi equispaced longitude points.
vr, vt, and vp arrays must have nphi doubles allocated. It does not require a previous call to shtns_set_grid, but it is NOT thread-safe, unless called with a different shtns_cfg