libftsh
A Fast Transform for Spherical Harmonics
 All Data Structures Files Functions Variables Defines
Functions
TEST/assess_f1.c File Reference

Assess the performance of the fast1 algorithm. More...

#include "../libftsh.h"

Functions

int main (int argc, char *argv[])

Detailed Description

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