pub fn mesh_to_dual(eptr: &[Idx], eind: &[Idx], ncommon: Idx) -> Result<Dual>
Generate the dual graph of a mesh.
This function returns an error if eptr and eind don’t follow the mesh format given in Mesh::new.
eptr
eind
Mesh::new