libftsh
A Fast Transform for Spherical Harmonics
|
Assess the performance of the fast1 algorithm. More...
#include "../libftsh.h"
Functions | |
int | main (int argc, char *argv[]) |
Assess the performance of the fast1 algorithm.
This program does an assessment of the fast transform for spherical harmonics, using the plan created by initialize_f1
We determine the number of coefficients in the compressed representation and time the synthesis and analysis transforms for each individual order. Note that totalling the time for each order tends to overestimate the time for the total tranform, for a reason not clear.
We only do the Associated Legendre Transform part of the SH transform. To do a full transform, you also need to fourier transform in longitude.
Usage: call this routine with 3 command-line arguments: f1_file iterations out_file
order coefficient_count synthesis_time analysis_time