#include "petscdt.h" PetscErrorCode PetscDTStroudConicalQuadrature(PetscInt dim, PetscInt Nc, PetscInt npoints, PetscReal a, PetscReal b, PetscQuadrature *q)Not Collective
dim | - The simplex dimension | |
Nc | - The number of components | |
npoints | - The number of points in one dimension | |
a | - left end of interval (often-1) | |
b | - right end of interval (often +1) |
q | - A PetscQuadrature object |
1. | - Karniadakis and Sherwin. FIAT |
Note: For dim == 1, this is Gauss-Legendre quadrature