NFFT  3.3.2
Enumerations | Functions
quadratureS2_test
Fast evaluation of quadrature formulae on the sphere

Enumerations

enum  boolean { NO = 0, YES = 1, NO = 0, YES = 1 }
 Enumeration for parameter values.
enum  testtype { ERROR = 0, TIMING = 1 }
 Enumeration for test modes.
enum  gridtype {
  GRID_GAUSS_LEGENDRE = 0, GRID_CLENSHAW_CURTIS = 1, GRID_HEALPIX = 2, GRID_EQUIDISTRIBUTION = 3,
  GRID_EQUIDISTRIBUTION_UNIFORM = 4
}
 Enumeration for quadrature grid types.
enum  functiontype {
  FUNCTION_RANDOM_BANDLIMITED = 0, FUNCTION_F1 = 1, FUNCTION_F2 = 2, FUNCTION_F3 = 3,
  FUNCTION_F4 = 4, FUNCTION_F5 = 5, FUNCTION_F6 = 6
}
 Enumeration for test functions.
enum  modes { USE_GRID = 0, RANDOM = 1 }
 TODO Add comment here.

Functions

int main (int argc, char **argv)
 The main program.

Function Documentation

int main ( int  argc,
char **  argv 
)

The main program.

Parameters:
argcThe number of arguments
argvAn array containing the arguments as C-strings
Returns:
Exit code

Definition at line 69 of file quadratureS2.c.

References nfsft_plan::f, nfsft_plan::f_hat, nfsft_plan::N_total, nfft_elapsed_seconds(), nfft_free(), nfft_malloc(), nfsft_wisdom::threshold, X, and nfsft_plan::x.