:orphan: # PetscDTStroudConicalQuadrature create Stroud conical quadrature for a simplex ## Synopsis ``` #include "petscdt.h" PetscErrorCode PetscDTStroudConicalQuadrature(PetscInt dim, PetscInt Nc, PetscInt npoints, PetscReal a, PetscReal b, PetscQuadrature *q) ``` Not Collective ## Input Parameters - ***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) ## Output Parameter - ***q -*** A `PetscQuadrature` object ## Note For `dim` == 1, this is Gauss-Legendre quadrature ## References - **** -*** Karniadakis and Sherwin. FIAT ## See Also `PetscDTGaussTensorQuadrature()`, `PetscDTGaussQuadrature()` ## Level intermediate ## Location src/dm/dt/interface/dt.c ## Examples src/dm/field/tutorials/ex1.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dt.c) [Index of all DT routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)