Topological cleanup and guarded smoothing inside quad regions (workplans/QUAD_MESHING_REDESIGN_PLAN_2026-09-06.md §4.4g–h). More...
Go to the source code of this file.
Classes | |
| struct | mesh::QuadCleanupOptions |
| Policy for cleanupAndSmoothQuads(). More... | |
| struct | mesh::QuadCleanupStats |
| Counts reported by cleanupAndSmoothQuads(). More... | |
Namespaces | |
| namespace | mesh |
The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs. | |
Functions | |
| QuadCleanupStats | mesh::cleanupAndSmoothQuads (MeshResult &mesh, const QSet< int > &movable, const QuadCleanupOptions &opts, QVector< int > *vertexOldToNew) |
| Remove eligible quad doublets, improve valence diagonals, smooth movable xy and compact/reorder cells. | |
| QVector< int > | mesh::reorderTrianglesFirst (MeshResult &mesh) |
| Stable-partition cell rows into triangles followed by quads and remap selected cell metadata. | |
Topological cleanup and guarded smoothing inside quad regions (workplans/QUAD_MESHING_REDESIGN_PLAN_2026-09-06.md §4.4g–h).
Topological cleanup and guarded smoothing inside quad regions (workplans/QUAD_MESHING_REDESIGN_PLAN_2026-09-06.md §4.4g–h).
Only vertices in movable are ever moved or removed; only cells incident to a movable vertex are ever rewritten. Ring vertices, constraint vertices and junction Steiners are therefore untouched, so patch stitching, node coupling and the PSLG interface are unaffected.
MeshResult::cellCouplings / infilOverrides are remapped during cell compaction/reordering, but removed-cell records become invalid -1 keys and collisions are not reconciled. MeshGenerator runs this before those stores are populated; callers with authored metadata must reconcile it.