Engineers who simulate complex geometries without fitting a mesh to every curve rely on a quiet piece of numerical plumbing: the accurate integration over so-called cut elements, the parts of a background grid that a boundary slices through.
The team identified thirteen open-source repositories dealing with integration over cut elements and subjected ten of them to detailed testing: FCMLab, Nutils, Gridap, ngsxfem, QUGaR, BoSSS, mlhp, QuESo, Algoim, and QuaHOG, the last also in a variant called QuaHOGPE. Three further codes, the CutFEM-Library, deal.II and TPMC, were discussed but excluded from the comparison, in some cases because they reuse algorithms already covered or because documentation was insufficient for integration into the test environment. All benchmarks were implemented in a common Matlab interface and published in an accompanying open-source repository.
The codes fall into broad methodological families. Quadtree and octree approaches, used by FCMLab and Nutils, recursively subdivide cut elements and place quadrature points in active subregions, relying on simple inside-or-outside checks. Reparametrization-based tools such as Gridap, ngsxfem and QUGaR triangulate or remap the cut region before applying standard rules. Moment fitting, employed by BoSSS, mlhp and QuESo, solves a linear system to construct tailored quadrature weights. Dimension-reduction methods such as Algoim collapse the integral using height functions, while QuaHOG applies Green’s theorem to reduce a two-dimensional area integral to a line integral along parametric boundary curves.
A central theoretical contribution of the paper clarifies how many quadrature points are actually needed. The authors derive the polynomial degree of the transformed integrand for several mapping types, showing that a general mapping of degree p applied to an integrand of degree q demands roughly p(q+1) Gauss points per direction, whereas an axis-aligned quadrilateral with a single curved edge needs noticeably fewer. For a quintic boundary and a degree-six integrand, the general-mapping estimate would be excessive compared with the structured case. The analysis also separates the total error into a geometric contribution from approximating the domain and a pure quadrature contribution, with the slower of the two dominating the convergence.
To probe these predictions, the researchers designed three two-dimensional test geometries cut by boundary curves of increasing degree: a straight line producing a trapezium, a quadratic curve producing a convex shape, and a quintic curve producing a concave, five-sided shape that forces some methods to subdivide the element. Because the boundary curves are explicitly described, reference integrals could be computed analytically. The studies asked how increasing the requested number of quadrature points improves accuracy, how mesh refinement behaves, and how well monomial integrands of varying degree are integrated.
The results split the codes into two clear groups. FCMLab, Gridap, mlhp, ngsxfem and Nutils approximate the boundary, typically by linear tessellation, and therefore carry a geometric error that caps convergence at roughly second order; ngsxfem, which adds a higher-order mesh transformation, achieved third-order convergence when its transformation degree matched the curve degree. In contrast, Algoim, BoSSS, QUGaR, QuaHOG and QuaHOGPE resolve the boundary description directly and reached machine precision, defined as 2.22 times ten to the minus fifteen, once the number of quadrature points matched the theoretically predicted value.
Several practical nuances emerged. Nutils showed no accuracy change when more quadrature points were requested, because its triangulation of the lowest subdivision level fixes the geometric error, and its supported quadrature order is capped at six. FCMLab and mlhp produced nearly identical errors, since mlhp uses a quadtree rule as the reference in its moment fitting equations, but mlhp substantially reduced the total number of quadrature points. BoSSS reached machine precision for area computations with only two requested points per direction, though its safety factor means it actually generated far more nodes than competing codes at the same setting. QuaHOGPE was the only code to achieve perfect accuracy across all twenty-six test geometries in the versatility suite, including one defined by a NURBS curve, thanks to its rational intermediate quadrature rule.
Robustness was assessed by shifting geometries through a fixed background mesh in many small steps so that no cutting situation repeated exactly. In two dimensions, two intersected parabolas were moved through a mesh of eight elements per direction over one thousand positions; in three dimensions, an ellipsoid underwent the same treatment. All tested codes proved quite robust. QUGaR stood out in the two-dimensional test, maintaining machine-precision accuracy with no oscillations and a stable number of quadrature points. Nutils required a stricter intersection tolerance in the three-dimensional test, with the default settings failing in 893 of 1000 configurations, but with the adjusted tolerance it delivered more stable results than the pure quadtree methods, as indicated by a smaller standard deviation of the error.
Three-dimensional benchmarks added a torus described by a NURBS surface and an elliptic cylinder with monomial integrands. For the torus volume, Gridap and Nutils achieved second-order convergence, while Algoim and BoSSS approached or exceeded their expected fourth-order rate at the finest refinements. For the elliptic cylinder, most codes levelled off at an error set by their geometric approximation on the given mesh, and increasing the requested quadrature order brought little benefit, a contrast with the two-dimensional results that the authors attribute to the absence of the higher-order codes in three dimensions. QuESo, which works exclusively on STL boundary files, was unaffected by mesh refinement because its accuracy is governed by the chordal tolerance chosen when generating the STL geometry.
The comparison also exposed trade-offs in quadrature point placement. BoSSS, Gridap, mlhp, QuaHOG and QuaHOGPE can place points outside the active domain, sometimes with negative weights, which may cause problems in certain applications such as discrete norms becoming negative. Quadtree methods generate large numbers of points concentrated along the cutting curve, and the count varies strongly with the specific cutting situation. The authors note that a quantitative ranking of computational times was not feasible in their environment because the codes are written in different languages and the Matlab interface introduces inconsistent communication overhead, so they restricted themselves to a qualitative discussion of preprocessing costs.
The study has clear limits. Not every parameter of every code was explored; the reparametrization degree, the number of subdivision levels and moment fitting tolerances are flagged as directions for further work. Boundary integrals, as opposed to domain integrals, were not systematically compared. Voxel-based boundary descriptions supported by FCMLab were not investigated, and some codes could not run certain test cases in the Matlab interface, with Gridap unable to handle single-element meshes with level set functions at all.
Despite these caveats, the authors draw a constructive conclusion: all reviewed codes proved robust and ready to use for the tested scenarios. They also identify a genuine gap in the ecosystem, noting that no open-source code currently handles parametric boundary descriptions combined with volumetric integration, a combination that would matter for CAD-based workflows where geometries arrive as boundary representations. The published Matlab benchmark environment, which can retrieve final quadrature points from most of the codes, is offered as a standardized test set for evaluating future implementations, and the team invites developers to benchmark their own quadrature schemes against the compared codes.
The theoretical analysis behind the paper also shows why the geometric error can be irreducible. For non-polynomial boundaries, such as sinusoidal curves, the domain transformation error forms a floor that persists no matter how many quadrature points are requested, whereas methods that represent the geometry exactly can eliminate this contribution entirely. The authors additionally note that although Gauss formulas achieve a higher algebraic order than Clenshaw-Curtis rules, both converge exponentially fast for analytic integrands, so algebraic order alone does not determine a method’s convergence rate.
The study of quadrature point layouts on a five-sided cut element revealed further differences. Algoim subdivided the element horizontally while QUGaR chose a diagonal subdivision. Quadtree codes concentrated many points along the cutting curve, and in the QuaHOG scheme each intermediate point along a boundary curve is mapped to several final points, producing distinctive arcs of points that can even fall in inactive elements.
Some codes carried specific caveats in the monomial studies. The hierarchical moment fitting rules of BoSSS are not embedded, meaning a rule built for one order does not exactly reproduce lower-order integrands, and consequently its integrals for the concave quintic geometry could not reach machine precision, although all errors stayed below ten to the minus five. The authors of ngsxfem observed numerically unstable results across different machines when the reparametrization degree exceeded the actual complexity of the curve, particularly on coarse meshes. For mlhp, the number of moment fitted points grows as the requested setting raised to the spatial dimension, which explains its point reduction relative to FCMLab.
The Gridap tutorial recommends a quadrature degree of twice the basis function order times the spatial dimension for unfitted problems, a rule consistent with the paper’s own derivation of exact quadrature degrees for cut elements under linear boundaries.
Subject of Research: A review and benchmarking of open-source quadrature methods for finite elements cut by immersed boundaries in two and three dimensions.
Article Title: Comparative Study of Different Quadrature Methods for Cut Elements
Article References: Loibl, M., Teixeira, G. H., Toprak, T., Shishkina, I., Miao, C., Kiendl, J., Kummer, F., & Marussig, B. (2026). Comparative Study of Different Quadrature Methods for Cut Elements. Archives of Computational Methods in Engineering. https://doi.org/10.1007/s11831-026-10619-2
Image Credits: AI Generated
DOI: 10.1007/s11831-026-10619-2
Keywords: cut elements, quadrature, immersed methods, finite element method, open-source software, benchmarking, numerical integration, quadtree, octree, moment fitting, reparametrization, dimension reduction, level set, NURBS, CutFEM, finite cell method, XFEM, isogeometric analysis, convergence rate, geometric error
News Source: Denise Maddox. (December 6, 2026). Open-Source Benchmark Puts Cut-Element Quadrature Codes to the Test. Scienmag.



