libftsh
A Fast Transform for Spherical Harmonics
|
Construct the Gaussian nodes and weights. More...
#include "libftsh.h"
Defines | |
#define | ENTEREXIT 0 |
#define | LNOF2 0.693147180559945309417232121458 |
Functions | |
void | mk_gnode_gweight (REAL *gnode, REAL *gweight, REAL epsilon, int numpts) |
void | mk_cosi_gnode (REAL *gnode, REAL epsilon, int numpts) |
void | cosi_gnode_to_gweight (REAL *gweight, REAL *gnode, int numpts) |
Construct the Gaussian nodes and weights.
Summary:
void cosi_gnode_to_gweight | ( | REAL * | gweight, |
REAL * | gnode, | ||
int | numpts | ||
) |
This routine computes the gaussian weights that go with a set of gaussian nodes.
The nodes input here are \(\cos^{-1}(\text{the usual nodes} )\).
INPUTS:
OUTPUTS: numpts values of gweight are filled in
NOTES:
void mk_gnode_gweight | ( | REAL * | gnode, |
REAL * | gweight, | ||
REAL | epsilon, | ||
int | numpts | ||
) |
This routine constructs the gaussian nodes and weights.
We make cosine inverse of the ordinary gaussian nodes.
INPUTS:
OUTPUTS: