Expand description
A mesh partitioning library that implements multithreaded, composable geometric algorithms.
§Crate Layout
Coupe exposes a Partition trait, which is in turn implemented by
algorithms. See its documentation for more details. The trait is generic around its input, which means algorithms
can partition different type of collections (e.g. 2D and 3D meshes).
§Available algorithms
§Partitioner algorithms
- Space filling curves:
- Recursive Coordinate Bisection
- Recursive Inertial Bisection
- Multi jagged
- Number partitioning:
- Greedy
- Karmarkar-Karp and its complete version
§Partition improving algorithms
- K-means
- Number partitioning:
- Fiduccia-Mattheyses
- Kernighan-Lin
Modules§
Structs§
- Aabb
- Complete
Karmarkar Karp - Complete Karmarkar-Karp algorithm
- Fiduccia
Mattheyses - FiducciaMattheyses
- FmMetadata
- Diagnostic data for a Fiduccia-Mattheyses run.
- Graph
Growth - Graph Growth algorithm
- Greedy
- Greedy number partitioning algorithm
- Hilbert
Curve - Hilbert space-filling curve algorithm
- KMeans
- K-means algorithm
- Karmarkar
Karp - Karmarkar-Karp algorithm
- Kernighan
Lin - KernighanLin algorithm
- Multi
Jagged - Multi-Jagged algorithm
- Random
- Map elements to parts randomly.
- Rcb
- Recursive Coordinate Bisection algorithm
- Real
- A floating-point value that cannot be NAN nor infinity.
- Rib
- Recursive Inertial Bisection algorithm
- VnBest
- Steepest descent Vector-of-Numbers algorithm
- VnFirst
- Descent Vector-of-Numbers algorithm
- ZCurve
- Z space-filling curve algorithm
Enums§
- Error
- Common errors thrown by algorithms.
- Hilbert
Curve Error
Traits§
- CkkWeight
- Trait alias for values accepted as weights by CompleteKarmarkarKarp.
- FmWeight
- Trait alias for values accepted as weights by FiducciaMattheyses.
- Greedy
Weight - Trait alias for values accepted as weights by Greedy.
- KkWeight
- Trait alias for values accepted as weights by KarmarkarKarp.
- Partition
- The
Partitiontrait allows for partitioning data. - RcbWeight
- Trait alias for values accepted as weights by Rcb and Rib.
- VnBest
Weight - Trait alias for values accepted as weights by VnBest.
- VnFirst
Weight - Trait alias for values accepted as weights by VnFirst.