Scotch Brand 5.1.10 User Manual

Page 107

Advertising
background image

Description

The SCOTCH meshOrderSaveTree routine saves the tree hierarchy information
associated with the SCOTCH Ordering structure pointed to by ordeptr to
stream stream.

The format of the tree output file resembles the one of a mapping or ordering
file: it is made up of as many lines as there are node vertices in the ordering.
Each of these lines holds two integer numbers. The first one is the index or
the label of the node vertex, starting from baseval, and the second one is the
index of its parent node in the separators tree, or −1 if the vertex belongs to
a root node.

Fortran users must use the PXFFILENO or FNUM functions to obtain the number
of the Unix file descriptor fildes associated with the logical unit of the tree
mapping file.

Return values

SCOTCH meshOrderSaveTree

returns 0 if the separators tree structure has been

successfully written to stream, and 1 else.

7.9.7

SCOTCH meshOrderCheck

Synopsis

int SCOTCH meshOrderCheck (const SCOTCH Mesh *

meshptr,

const SCOTCH Ordering *

ordeptr)

scotchfmeshordercheck (doubleprecision (*)

meshdat,

doubleprecision (*)

ordedat,

integer

ierr)

Description

The SCOTCH meshOrderCheck routine checks the consistency of the given
SCOTCH Ordering

structure pointed to by ordeptr.

Return values

SCOTCH meshOrderCheck

returns 0 if ordering data are consistent, and 1 else.

7.9.8

SCOTCH meshOrderCompute

Synopsis

int SCOTCH meshOrderCompute (const SCOTCH Mesh *

meshptr,

SCOTCH Ordering *

ordeptr,

const SCOTCH Strat *

straptr)

scotchfmeshordercompute (doubleprecision (*)

meshdat,

doubleprecision (*)

ordedat,

doubleprecision (*)

stradat,

integer

ierr)

107

Advertising