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

Chapter 14 METIS Routines 989
Partitions a mesh mlib_METIS_PartMeshDual
npart This is a vector of size nn that upon successful
completion sotres the partition vector for the nodes of
the mesh. The numbering of this vector starts from
either 0 or 1, depending on the value of numflag.
Notes This function converts the mesh into a dual graph and then uses
mlib_METIS_PartGraphKway to compute a partitioning of the elements. This
partitioning of elements is then used to compute a partitioning for the nodes.
This is done by assigning each node to the partition in which the majority of its
incident elements belong (subject to balance constraints).