libftsh
A Fast Transform for Spherical Harmonics
|
Synthesize (evaluate) using the direct1 algorithm. More...
#include "../libftsh.h"
Defines | |
#define | DOTIME 1 |
Functions | |
int | main (int argc, char *argv[]) |
Synthesize (evaluate) using the direct1 algorithm.
This program does the sythesis (evaluation) portion of the direct transform for spherical harmonics, using the plan created by initialize_d1
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: d1_file coef_file out_file
OPTIONS: