HP MLIB User's Guide Vol. 2 7th Ed.

998 HP MLIB User’s Guide
mlib_METIS_MeshToNodal Converts a mesh into a nodal graph
nxadj,
nadjncy
These arrays store the adjacency structure of the nodal
graph. The user must provide arrays that are
sufficiently large to store the graph. The size of array
nxadj is nn+1 where the size of nadjncy depends on the
type of the mesh. For triangular-element and
hexahedra-element meshes, nadjncy should be at least
6*nn, for quadrilateral-element meshes, nadjncy
should be at least 4*nn, and for tetrahedra-element
meshes, nadjncy should be at least 15*nn.
Notes The nodal graph is defined as the graph in which each vertex of the graph
corresponds to a node in the mesh, and two vertices are connected by an edge if
the corresponding nodes are connected by an element.