Loading...
Searching...
No Matches
meshreorder.cpp File Reference

Hilbert-curve renumbering of a freshly generated mesh. More...

#include "mesh/meshreorder.h"
#include "mesh/meshcellgeom.h"
#include <QVector>
#include <algorithm>
#include <cmath>
#include <limits>
#include <numeric>
#include <utility>
Include dependency graph for meshreorder.cpp:

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

void mesh::reorderMeshHilbert (MeshResult *m)
 Spatially permute cells within triangle/quad classes and renumber vertices by first use.
 
double mesh::meanVertexIndexSpread (const MeshResult &m)
 Compute mean absolute index jump across each cell's consecutive cyclic corner pairs.
 

Detailed Description

Hilbert-curve renumbering of a freshly generated mesh.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
Apache-2.0