libftsh
A Fast Transform for Spherical Harmonics
|
Load precomputed data for direct1 transform. More...
#include "libftsh.h"
Defines | |
#define | ENTEREXIT 0 |
Functions | |
void | direct1_fromfile (int *numpts_ptr, int *band_limit_ptr, REAL **node_ptr, REAL **weight_ptr, Pm_Direct_d **pmn_matrix_ptr, Pm_1D_Workspace *pmnwork, FILE *fp) |
void | load_direct1 (int *numpts_ptr, int *band_limit_ptr, REAL **node_ptr, REAL **weight_ptr, Pm_Direct_d **pmn_matrix_ptr, FILE *fp) |
Load precomputed data for direct1 transform.
Summary:
void direct1_fromfile | ( | int * | numpts_ptr, |
int * | band_limit_ptr, | ||
REAL ** | node_ptr, | ||
REAL ** | weight_ptr, | ||
Pm_Direct_d ** | pmn_matrix_ptr, | ||
Pm_1D_Workspace * | pmnwork, | ||
FILE * | fp | ||
) |
This routine loads the initialization dumped by dump_direct1, 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_direct1 | ( | int * | numpts_ptr, |
int * | band_limit_ptr, | ||
REAL ** | node_ptr, | ||
REAL ** | weight_ptr, | ||
Pm_Direct_d ** | pmn_matrix_ptr, | ||
FILE * | fp | ||
) |
This routine loads the initialization dumped by dump_direct1 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: