Function 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
.