Theoremresearch
Hexahedral mesh existence theorem
Also called Mitchell-Thurston theorem.
A ball bounded by a quadrilateral mesh with an even number of quads has a compatible hexahedral mesh, as Thurston and Mitchell proved, and Eppstein gave linear size.
The hexahedral mesh existence theorem answers the most basic question of hexahedral mesh generation: given a quad mesh of the boundary of a solid, is there any hex mesh of the solid with exactly these boundary quads? A simple count shows that the number of boundary quads must be even, for any solid. Thurston in 1993 and Mitchell in 1996 showed, independently, that for a ball this is also enough. Their proofs build a mesh whose hexes are only topological cubes, often badly shaped, so the theorem says that a mesh exists, not that a good one does.
This page proves the parity condition in full and sketches the converse. The spatial twist continuum page describes the dual sheets that the converse uses.
Statement
A hex mesh of a solid is conforming: two hexes meet in a whole shared face, a whole edge, a vertex, or not at all. Each quad face of the mesh is a face of one hex, then it lies on the boundary, or of two hexes, then it is inside. Let be the number of hexes, the number of inner quads and the number of boundary quads.
Lemma (parity). For every hex mesh of every solid, of any shape and topology,
so is even and .
Theorem (Thurston 1993, Mitchell 1996). Let be a quad mesh of the sphere that bounds a ball. Then there is a hex mesh of the ball whose boundary quads are exactly the quads of if and only if the number of quads of is even. The hexes of this mesh are topological cubes: each is a ball whose boundary is split into six quads like the faces of a cube.
Linear size (Eppstein 1999). If has quads, even, such a mesh exists with hexes.
In plain words
Every hex has six faces. Count all faces of all hexes, one hex at a time. A face inside the solid is counted twice, once from each of its two hexes. A face on the outside is counted once. The total is six times the number of hexes, which is even. The inside faces add an even number, so the outside faces must be an even number too.
So if the outside of a solid is covered by an odd number of quads, no hex mesh can match it, no matter how clever. The theorem says that for a solid without holes this is the only obstacle: with an even number of quads there is always some hex mesh, but its hexes may be twisted and of very bad shape.
Proof
Proof of the lemma. Count the pairs where is a hex and is one of its six faces, as quads of the mesh. Each hex gives 6 pairs, so there are pairs. Each inner quad is a face of two hexes and each boundary quad of one hex. If a hex has two of its own faces glued to each other, that quad still gives two pairs, so it counts as an inner quad here. So the number of pairs is also . Then is even, and . The count uses only that the mesh is conforming, not the shape or the topology of the solid.
The converse, a sketch. The sketch follows Mitchell (1996, main theorem, general locator). The full proof is in that paper, and Thurston's posting gives a similar argument.
- In each quad of , join the midpoints of the two pairs of opposite edges. These segments link up into closed curves on the sphere, the dual loops of . Each quad is a point where two loop pieces cross, so the loops have exactly crossing points.
- In a hex mesh, the dual sheets are surfaces that meet the boundary in these loops. Two sheets, or one sheet with itself, meet along curves. A curve of this kind that reaches the boundary ends at a crossing point of the loops, and each arc has two ends. So the crossing points must pair up, which is the parity condition again, seen from the dual.
- For a ball and even , extend each loop to a surface inside the ball, in general position, so that the intersection curves join the crossing points in pairs. Then the arrangement of surfaces cuts the ball into cells, and each triple point of the surfaces is dual to a hex.
- In general such an arrangement is not yet the dual of a valid hex mesh: it can have cells that touch themselves or faces that are not disks. Mitchell gives conditions for a valid dual and shows that adding further sheets, which do not meet the boundary, removes every bad case. The result is a topological hex mesh with boundary .
Neither proof gives good elements. The surfaces are chosen only up to topology, so the hexes need not be convex, and when they are placed in space they can be inverted or almost flat. Eppstein's construction gives the linear size by a different route: it fills the ball with a layer and a set of buffer cubes, each of which has a fixed small boundary and so a fixed hex mesh, but again with no bound on the shape.
Consequences
- The parity test. Before any hex meshing method tries to close a void, it can count the quads of the void. An odd count means certain failure. This is why plastering must avoid odd voids, and why the whisker weaving loop has to be steered.
- The 2D analogue. The same count for quads in the plane gives , so a polygon with an odd number of boundary edges has no quad mesh. For a polygon, an even number is enough, and simple methods such as paving show this in practice. In 3D the converse is much harder.
- A lower bound. Since , a mesh needs at least one hex for each six boundary quads. A cube with its faces split into quads has , and its grid has and , so .
- Sizes. Mitchell's construction can need hexes. Eppstein's gives , and with the buffer cube meshes of Verhetsel, Pellerin and Remacle the bound is hexes, with hexes that have a geometric realization.
- Flips. Bern, Eppstein and Erickson showed that each simply connected domain with an even number of boundary quads has a pseudo-shelling, a hex mesh built one hex at a time so that the part left is always a ball. This gives flip operations for hex meshes, as for tetrahedral meshes.
Tightness
The parity condition is needed. Take the six quads of a cube and split one face into the two quads and , where is a new point inside the face, joined to and . This is a quad mesh of the sphere with quads, so by the lemma no hex mesh has this boundary.
The ball hypothesis is needed. For solids with holes or handles, an even number of quads is not enough in general. Mitchell's paper and Erickson's 2014 paper give extra conditions on cycles of the boundary mesh for such domains (general locator).
Existence is not quality. Even for small balls, a good mesh can be hard to find. Schneiders' pyramid is a square pyramid whose base is split into 4 quads and whose four triangles are each split into 3 quads, so it has quads. It was given in 1995 as a boundary for which no hex mesh was known. Meshes with hexes (2002) and (2010) were found later. In 2018 two separate searches gave meshes with hexes, by simplifying the mesh of (published in 2019), and with . The theorem gives no help in finding a small or well-shaped one. Whether every even quad mesh of a convex polyhedron with planar convex quads has a mesh of convex hexes with planar faces is, as far as the survey of Pietroni and others reports, still open.
History
William Thurston described the result for the ball in a 1993 posting to the newsgroup sci.math, using immersed surfaces. Scott Mitchell proved it independently and published it at STACS in 1996, with a characterization by the dual of the mesh that also covers some surfaces of higher genus. David Eppstein gave a construction with hexes in 1999. Bern, Eppstein and Erickson studied flips and shellings of cubical meshes in 2002, and Erickson treated domains with topology in 2014. Carbonera and Shepherd gave a fully explicit construction in 2010, and Verhetsel, Pellerin and Remacle found small meshes for the buffer cubes in 2019, which gives the bound of hexes.
References
- Scott A. Mitchell, A characterization of the quadrilateral meshes of a surface which admit a compatible hexahedral mesh of the enclosed volume, STACS 96, Lecture Notes in Computer Science 1046, Springer, 1996, the main theorem and its proof by the extension of the dual loops of the boundary to an arrangement of surfaces (general locator)
- W. P. Thurston, Hexahedral decomposition of polyhedra, posting to the newsgroup sci.math, 1993, the whole posting, which gives the same result for the ball by immersed surfaces
- David Eppstein, Linear complexity hexahedral mesh generation, Computational Geometry 12(1-2), 1999, 3 to 16, the construction with O(n) hexahedra for n boundary quads (general locator)
- Marshall W. Bern, David Eppstein and Jeff Erickson, Flipping cubical meshes, Engineering with Computers 18(3), 2002, 173 to 187, the flips of cubical meshes and the pseudo-shellings of simply connected domains with an even number of boundary quads (general locator)
- Jeff Erickson, Efficiently hex-meshing things with topology, Discrete and Computational Geometry 52(3), 2014, 427 to 449, the conditions and the construction for domains that are not balls (general locator)
- Kilian Verhetsel, Jeanne Pellerin and Jean-François Remacle, Finding hexahedrizations for small quadrangulations of the sphere, ACM Transactions on Graphics 38(4), 2019, the meshes of the buffer cubes, which give at most 78n hexahedra for a ball with n boundary quads (general locator)
- Nico Pietroni, Marcel Campen, Alla Sheffer, Gianmarco Cherchi, David Bommes, Xifeng Gao, Riccardo Scateni, Franck Ledoux, Jean-François Remacle and Marco Livesu, Hex-mesh generation and processing, a survey, arXiv 2202.12670, 2022, the paragraphs on existence, linear complexity meshing and Schneiders' pyramid
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 8E281Y Edit this page History Report an error Markdown