Actual source code: dtimpl.h
1: #ifndef _DT_H
2: #define _DT_H
4: #include <petscdt.h>
6: struct _p_PetscQuadrature {
7: PETSCHEADER(int);
8: DMPolytopeType ct; /* The domain of integration */
9: PetscInt dim; /* The spatial dimension */
10: PetscInt Nc; /* The number of components */
11: PetscInt order; /* The order, i.e. the highest degree polynomial that is exactly integrated */
12: PetscInt numPoints; /* The number of quadrature points on an element */
13: const PetscReal *points; /* The quadrature point coordinates */
14: const PetscReal *weights; /* The quadrature weights */
15: };
17: #if (!defined(PETSC_MISSING_LAPACK_STEQR) || !defined(PETSC_MISSING_LAPACK_STEGR))
18: #define PETSCDTGAUSSIANQUADRATURE_EIG 1
19: #endif
21: PETSC_EXTERN PetscBool PetscDTGaussQuadratureNewton_Internal;
23: #endif