1 #if !defined(_DT_H) 2 #define _DT_H 3 4 #include <petscdt.h> 5 6 struct _p_PetscQuadrature { 7 PETSCHEADER(int); 8 PetscInt dim; /* The spatial dimension */ 9 PetscInt order; /* The order, i.e. the highest degree polynomial that is exactly integrated */ 10 PetscInt numPoints; /* The number of quadrature points on an element */ 11 const PetscReal *points; /* The quadrature point coordinates */ 12 const PetscReal *weights; /* The quadrature weights */ 13 }; 14 15 #endif 16