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