Skip to content

"qpoints" block

The current parser uses the JSON block name "qpoints". Quadrature rules are configured separately for bulk, surface, and line elements.

json { "qpoints": { "bulk": { "type": "gauss-legendre", "order": 3 }, "surface": { "type": "gauss-legendre", "order": 3 }, "line": { "type": "gauss-legendre", "order": 3 } } }

Supported subblocks

  • "bulk": quadrature for bulk elements.
  • "surface": quadrature for surface elements. This is only valid for 3D meshes.
  • "line": quadrature for line elements. This is only valid for 2D or 3D meshes.

Options inside each subblock

  • "type": required string.
  • "order": optional non-negative integer.

If a subblock is present and "order" is omitted, the parser falls back to mesh-order + 1 for that subblock.

Supported quadrature types

text gauss-legendre gauss-lobatto user1 ... user5