neighbors_to_metis_graph_test, a MATLAB code which calls neighbors_to_metis_graph(), which defines the graph-theoretic adjacency structure of the elements in a mesh of triangles or tetrahedrons and writes out a similar file that is suitable for input to the mesh partitioning code metis().
The information on this web page is distributed under the MIT license.
neighbors_to_metis_graph, a MATLAB code which reads a file describing the neighbor structure of a triangulation or tet mesh, and writes a metis graph file suitable for input to one of the family of programs based on metis.