Scotch Brand 5.1.10 User Manual

Page 92

Advertising
background image

Return values

SCOTCH graphOrderLoad

returns 0 if the ordering structure has been success-

fully loaded from stream, and 1 else.

7.7.5

SCOTCH graphOrderSave

Synopsis

int SCOTCH graphOrderSave (const SCOTCH Graph *

grafptr,

const SCOTCH Ordering *

ordeptr,

FILE *

stream)

scotchfgraphordersave (doubleprecision (*)

grafdat,

doubleprecision (*)

ordedat,

integer

fildes,

integer

ierr)

Description

The SCOTCH graphOrderSave routine saves the contents of the SCOTCH
Ordering

structure pointed to by ordeptr to stream stream, in the Scotch

ordering format (see section 5.6).

Fortran users must use the PXFFILENO or FNUM functions to obtain the num-
ber of the Unix file descriptor fildes associated with the logical unit of the
ordering file.

Return values

SCOTCH graphOrderSave

returns 0 if the ordering structure has been success-

fully written to stream, and 1 else.

7.7.6

SCOTCH graphOrderSaveMap

Synopsis

int SCOTCH graphOrderSaveMap (const SCOTCH Graph *

grafptr,

const SCOTCH Ordering *

ordeptr,

FILE *

stream)

scotchfgraphordersavemap (doubleprecision (*)

grafdat,

doubleprecision (*)

ordedat,

integer

fildes,

integer

ierr)

Description

The SCOTCH graphOrderSaveMap routine saves the block partitioning data as-
sociated with the SCOTCH Ordering structure pointed to by ordeptr to stream
stream

, in the Scotch mapping format (see section 5.5). A target domain

number is associated with every block, such that all node vertices belonging
to the same block are shown as belonging to the same target vertex. The

92

Advertising