|
Defines | |
#define | SYMBOL_ABEL_POISSON(k, h) (pow(h,k)) |
Macro for the Fourier-Legendre coefficients of the Abel-Poisson kernel. | |
#define | SYMBOL_SINGULARITY(k, h) ((2.0/(2*k+1))*pow(h,k)) |
Macro for the Fourier-Legendre coefficients of the singularity kernel. | |
#define | KT_ABEL_POISSON (0) |
Abel-Poisson kernel. | |
#define | KT_SINGULARITY (1) |
Singularity kernel. | |
#define | KT_LOC_SUPP (2) |
Locally supported kernel. | |
#define | KT_GAUSSIAN (3) |
Gaussian kernel. | |
Enumerations | |
enum | pvalue { NO = 0, YES = 1, BOTH = 2 } |
Enumeration type for yes/no/both-type parameters. | |
Functions | |
double | innerProduct (const double phi1, const double theta1, const double phi2, const double theta2) |
Computes the standard inner product between two vectors on the unit sphere given in spherical coordinates. | |
double | poissonKernel (const double x, const double h) |
Evaluates the Poisson kernel at a node . | |
double | singularityKernel (const double x, const double h) |
Evaluates the singularity kernel at a node . | |
double | locallySupportedKernel (const double x, const double h, const double lambda) |
Evaluates the locally supported kernel at a node . | |
double | gaussianKernel (const double x, const double sigma) |
Evaluates the spherical Gaussian kernel at a node . | |
int | main (int argc, char **argv) |
The main program. |
|
Computes the standard inner product between two vectors on the unit sphere given in spherical coordinates.
Definition at line 76 of file fastsumS2.c. Referenced by main(). |
|
Evaluates the Poisson kernel at a node .
Definition at line 93 of file fastsumS2.c. References PI. Referenced by main(). |
|
Evaluates the singularity kernel at a node .
Definition at line 109 of file fastsumS2.c. References PI. Referenced by main(). |
|
Evaluates the locally supported kernel at a node .
Definition at line 127 of file fastsumS2.c. Referenced by main(). |
|
Evaluates the spherical Gaussian kernel at a node .
Definition at line 145 of file fastsumS2.c. Referenced by main(). |
|
The main program.
Definition at line 160 of file fastsumS2.c. References nfsft_plan::f, nfsft_plan::f_hat, FFT_OUT_OF_PLACE, FFTW_INIT, gaussianKernel(), innerProduct(), KT_ABEL_POISSON, KT_GAUSSIAN, KT_LOC_SUPP, KT_SINGULARITY, locallySupportedKernel(), ndsft_adjoint(), ndsft_trafo(), nfft_error_l_infty_1_complex(), NFFT_MAX, nfft_second(), nfsft_adjoint(), NFSFT_F_HAT_SIZE, nfsft_finalize(), nfsft_forget(), NFSFT_INDEX, nfsft_init_guru(), NFSFT_NO_FAST_ALGORITHM, nfsft_precompute(), nfsft_precompute_x(), nfsft_trafo(), NFSFT_USE_DPT, NFSFT_USE_NDFT, PI, poissonKernel(), PRE_PHI_HUT, PRE_PSI, singularityKernel(), SYMBOL_ABEL_POISSON, SYMBOL_SINGULARITY, and nfsft_plan::x. |