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

Assess the performance of the direct1 algorithm. More...

#include "../libftsh.h"

Functions

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

Detailed Description

Assess the performance of the direct1 algorithm.

This program does an assessment of the direct transform for spherical harmonics, using the plan created by initialize_d1

We 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