![]() |
libftsh
A Fast Transform for Spherical Harmonics
|
Load precomputed data for fast1 transform. More...
#include "libftsh.h"Defines | |
| #define | ENTEREXIT 0 |
Functions | |
| void | fast1_fromfile (int *numpts_ptr, int *band_limit_ptr, REAL **node_ptr, REAL **weight_ptr, Pm_1D **pmn_matrix_ptr, Pm_1D_Workspace *pmnwork, FILE *fp) |
| void | load_fast1 (int *numpts_ptr, int *band_limit_ptr, int *num_levels_ptr, REAL **node_ptr, REAL **weight_ptr, Fast1_Save *saves_fordump, Pm_1D **pmn_matrix_ptr, FILE *fp) |
Load precomputed data for fast1 transform.
Summary:
| void fast1_fromfile | ( | int * | numpts_ptr, |
| int * | band_limit_ptr, | ||
| REAL ** | node_ptr, | ||
| REAL ** | weight_ptr, | ||
| Pm_1D ** | pmn_matrix_ptr, | ||
| Pm_1D_Workspace * | pmnwork, | ||
| FILE * | fp | ||
| ) |
This routine loads the initialization dumped by dump_fast1, interprets it and does all the set-up necessary to do the synthesis or analysis transform
INPUTS: fp -- the objects are read from the file pointed to by fp, in binary format. The file must be opened before calling this routine.
OUTPUTS:
NOTES:

| void load_fast1 | ( | int * | numpts_ptr, |
| int * | band_limit_ptr, | ||
| int * | num_levels_ptr, | ||
| REAL ** | node_ptr, | ||
| REAL ** | weight_ptr, | ||
| Fast1_Save * | saves_fordump, | ||
| Pm_1D ** | pmn_matrix_ptr, | ||
| FILE * | fp | ||
| ) |
This routine loads the initialization dumped by dump_fast1.
We interpret what we read and re-align pointers and such to get things ready to use.
INPUTS: fp -- the objects are read from the file pointed to by fp, in binary format. The file must be opened before calling this routine
OUTPUTS:
NOTES:


1.8.0