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

Synthesize (evaluate) using the fast1 algorithm. More...

#include "../libftsh.h"

Defines

#define DOTIME   1

Functions

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

Detailed Description

Synthesize (evaluate) using the fast1 algorithm.

This program does the sythesis (evaluation) portion of the fast transform for spherical harmonics, using the plan created by initialize_f1

This is essentially a demo version, since in a real program one would not want to read/write to files this often.

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 coef_file out_file

OPTIONS: