#include "petscdt.h" PetscErrorCode PetscDTGaussQuadrature(PetscInt npoints,PetscReal a,PetscReal b,PetscReal *x,PetscReal *w)Not Collective
npoints | - number of points | |
a | - left end of interval (often-1) | |
b | - right end of interval (often +1) |
x | - quadrature points | |
w | - quadrature weights |
1. | - Golub and Welsch, Calculation of Quadrature Rules, Math. Comp. 23(106), 1969. |