Create a node or dual (element) adjacency graph. If node option is selected, the graph of node adjacency is created, if dual option is selected, the graph of element adjacency (dual graph) is created.

For details of METIS algorithms and descriptions of the third command line argument see: ~karypis/metis

See METISdocumentation for description of graph format.

The default name of the attributes that are created are different depending on which option (metis or lagrit) is used. create_graph / metis / [node dual] / [nxadj] / [nadjncy]

create_graph/ lagrit / dual / jtetoff / jtet


The metis option will not work on a hybrid mesh. Supported element types are tri, tet, quad, hex.

The lagrit option will only produce the dual adjacency graph. The only option for the name of the graph arrays are jtetoff and jtet. The present implementation is just a wrapper on the geniee command.

METIS Interface to LAGriT

The standard libraries, liblagrit.a and libutil.a do not contain METIS. In order to utilize the METIS functions one must download the METIS package, build the METIS libraries on your local system and link them with the LAGriT libraries. See instructions in documentation of the metis command.


create_graph / metis / [node dual] / [nxadj] / [nadjncy]


create_graph / metis / dual / -def- / -def-

create_graph / metis / node / -def- / -def-

create_graph / metis / dual / ie1 / ieadj1

create_graph / metis / node / in1 / inadj1

create_graph/ lagrit / dual / jtetoff / jtet