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 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 #endif 17