Actual source code: dtimpl.h

  1: #pragma once

  3: #include <petscdt.h>

  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:   PetscInt         Na;        /* The number of quadrature arrangements */
 15:   IS              *perms;     /* The permutations of quadrature points for each arrangement */
 16: };

 18: #if (!PetscDefined(MISSING_LAPACK_STEQR) || !PetscDefined(MISSING_LAPACK_STEGR))
 19:   #define PETSCDTGAUSSIANQUADRATURE_EIG 1
 20: #endif

 22: PETSC_EXTERN PetscBool PetscDTGaussQuadratureNewton_Internal;