typedef struct { PetscInt n; PetscReal *nodes; PetscReal *weights; } PetscGLL;
These values are usful in implementing spectral methods based on the Gauss-Lobatto-Legendre nodes
The array nodes[] contains the vertices of each node The array weights[] are the integration weights
The mass matrix for the element corresponds to the diagona matrix whose entries are the weights[]
Developer Notes: This may eventually get merged into a more abstract or general object for managing integration schemes or discretization schemes.
References: XXXX