36void getCC (
int n,
int *nq,
double **x,
double **w );
43void getGKPunif (
int n,
int *nq,
double **x,
double **w );
47void getGKPnorm (
int n,
int *nq,
double **x,
double **w );
61int getSpgSize (
int getOrder (
int ),
int dim,
int lev );
64void sortSpg (
int dim,
int spgSize,
double *qpts,
double *w );
67void getTensorProd(
int dim,
double *qpts,
double *w,
int *spgSize,
int *n1D,
68 double **x1D,
double **w1D,
double qfac);
73void getSpgQW (
void get1DQW (
int ,
int *,
double **,
double** ),
int getOrder (
int ),
74 int dim,
int lev,
int *nqpts,
double **qpts,
double
77void getSpgAnisQW (
void get1DQW (
int ,
int *,
double **,
double** ),
int getOrder (
int ),
78 int dim,
int *levList,
int *nqpts,
double **qpts,
double **w ) ;
80void getCC (
int n,
int *nq,
double **x,
double **w );
88extern "C" void heap_ext_(
const int *,
const int *,
int *,
int *,
int *);
void sortSpg(int dim, int spgSize, double *qpts, double *w)
Sort sparse grid in lexicographical order.
Definition gkpclib.cpp:612
void getTensorProd(int dim, double *qpts, double *w, int *spgSize, int *n1D, double **x1D, double **w1D, double qfac)
compute dim-dimensional tensor grid based a series of 1D rules
Definition gkpclib.cpp:654
int getOrderGKPnorm(int lev)
get order of normal Gauss-Kronrod-Patterson rules based on level
Definition gkpclib.cpp:318
int getOrderGKPunif(int lev)
get order of uniform Gauss-Kronrod-Patterson rules based on level
Definition gkpclib.cpp:304
void getSpgQW(void get1DQW(int, int *, double **, double **), int getOrder(int), int dim, int lev, int *nqpts, double **qpts, double **w)
Main function that connects the user setup for pdftype, dimensionality, and quadrature level and vari...
Definition gkpclib.cpp:392
int getOrderCC(int lev)
get order of Clenshaw-Curtis rules based on level
Definition gkpclib.cpp:294
void getGKPunif(int n, int *nq, double **x, double **w)
retrieve pointers to 1D Gauss-Kronrod-Patterson rules for uniform pdf based on the quadrature level
Definition gkpclib.cpp:235
void getCompNintoDim(int n, int dim, int *nelem, int **plist)
List of decompositions of 'n' into 'dim' parts. The implementation is based on Algorithm 5 of Combina...
Definition gkpclib.cpp:331
int getSpgSize(int getOrder(int), int dim, int lev)
Initial estimate for sparse grid size.
Definition gkpclib.cpp:361
void getGKPnorm(int n, int *nq, double **x, double **w)
retrieve pointers to 1D Kronrod-Patterson rules for normal pdf based on the quadrature level
Definition gkpclib.cpp:267
void heap_ext_(const int *, const int *, int *, int *, int *)
void getCC(int n, int *nq, double **x, double **w)
retrieve pointers to 1D Clenshaw-Curtis rules
Definition gkpclib.cpp:193
void getSpgAnisQW(void get1DQW(int, int *, double **, double **), int getOrder(int), int dim, int *levList, int *nqpts, double **qpts, double **w)
Definition gkpclib.cpp:495