Partial quadrature functions

Partial quadrature functions map quadrature points to values. A partial quadrature function is defined on the quadrature points associated with a unique material.

Extrapolating quadrature functions at nodes

Using a so-called GridFunction, a set of partial quadrature functions, each associated with a distinct material, can be extrapolated at nodes:

  • the makeGridFunction creates the GridFunction and the associated finite element space.

  • the updateGridFunction fills the GridFunction with the values of the partial quadrature functions.

A GridFunction being an MFEM object, the reader may refer to the MFEM documentation for further details. In particular, a GridFunction can easily be exported to Paraview using MFEM’s ParaViewDataCollection.