neighbors_to_metis_graph_test, a C++ code which calls neighbors_to_metis_graph(), which reads a file describing 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 program metis().
The computer code and data files described and made available on this web page are distributed under the MIT license
neighbors_to_metis_graph, a C++ 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().