The discontinuous Galerkin method is highly flexible for handling complex meshes. One of the challenges of the method lies in the calculation of the coefficients of the elementary matrices. Indeed, these coefficients involve integrals of polynomials over the cells, and as soon as these cells have a complex shape, the integration becomes difficult. In this paper, we focus on how to perform such integration by reducing volume integrals over a cell to line integrals along the edges of the cell. In some cases, the integration can be done exactly, and in others, the line integration can be performed using quadrature formulas. We will provide a recipe, for example, in the case where the cell is an arbitrary polyhedron with flat faces, to compute the integral of a polynomial exactly. However, the method we propose also allows for the calculation of the integral of a function over a polyhedron with curved surfaces.
Read full abstract