7.5.5
SCOTCH graphSave
Synopsis
int SCOTCH graphSave (const SCOTCH Graph *
grafptr,
FILE *
stream)
scotchfgraphsave (doubleprecision (*)
grafdat,
integer
fildes,
integer
ierr)
Description
The
SCOTCH graphSave
routine saves the contents of the
SCOTCH Graph
struc-
ture pointed to by
grafptr
to stream
stream
, in the
Scotch
graph format
(see section 5.1).
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 graph
file.
Return values
SCOTCH graphSave
returns 0 if the graph structure has been successfully writ-
ten to
stream
, and 1 else.
7.5.6
SCOTCH graphBuild
Synopsis
int SCOTCH graphBuild (SCOTCH Graph *
grafptr,
const SCOTCH Num
baseval,
const SCOTCH Num
vertnbr,
const SCOTCH Num *
verttab,
const SCOTCH Num *
vendtab,
const SCOTCH Num *
velotab,
const SCOTCH Num *
vlbltab,
const SCOTCH Num
edgenbr,
const SCOTCH Num *
edgetab,
const SCOTCH Num *
edlotab)
scotchfgraphbuild (doubleprecision (*)
grafdat,
integer*
num
baseval,
integer*
num
vertnbr,
integer*
num
(*)
verttab,
integer*
num
(*)
vendtab,
integer*
num
(*)
velotab,
integer*
num
(*)
vlbltab,
integer*
num
edgenbr,
integer*
num
(*)
edgetab,
integer*
num
(*)
edlotab,
integer
ierr)
79