Crate metis

Source
Expand description

This crate provides a thin but idiomatic API around libmetis.

See Graph for a usage example.

Modules§

option
Fine-tuning parameter types.

Structs§

Dual
The dual of a mesh.
Graph
Builder structure to set up a graph partition computation.
InvalidGraphError
Error raised when the graph data fed to Graph::new cannot be safely passed to METIS.
InvalidMeshError
Error raised when the mesh data fed to Mesh::new cannot be safely passed to METIS.
Mesh
Builder structure to set up a mesh partition computation.

Enums§

Error
Error type returned by METIS.
NewGraphError
Error type returned by Graph::new.
NewMeshError
Error type returned by Mesh::new.

Constants§

NOPTIONS
The length of the options array.

Functions§

mesh_to_dual
Generate the dual graph of a mesh.

Type Aliases§

Idx
Integer type used by METIS, can either be an i32 or an i64.
Real
Floating-point type used by METIS, can either be an f32 or an f64.
Result
The result of a partitioning.