Function metis::mesh_to_dual

source ·
pub fn mesh_to_dual(eptr: &[Idx], eind: &[Idx], ncommon: Idx) -> Result<Dual>
Expand description

Generate the dual graph of a mesh.

Errors

This function returns an error if eptr and eind don’t follow the mesh format given in Mesh::new.