Partial quadrature spaces

Retrieving information on a partial quadrature space

The PartialQuadratureSpaceInformation structure contains some relevant information about a partial quadrature space:

  • the identifier and the name of the underlying material,

  • the total number of elements,

  • the total number of integration points,

  • the number of quadrature points per geometric type.

This structure is created by:

  • getLocalInformation, which returns the information relative to the current process.

  • getInformation, which returns the information gathered from all processes.

The PartialQuadratureSpaceInformation structure can be printed to an output stream using the info function.

Note

There is also an overload of the info function that takes a partial quadrature space as argument, which builds internally a PartialQuadratureSpaceInformation, synchronizes it over all processes and prints the result.

Example of usage

const auto& qspace =
   problem.getBehaviourIntegrator(1).getPartialQuadratureSpace();
const auto success = mfem_mgis::info(ctx, std::cout, qspace);