Scotch Brand 5.1.10 User Manual
Page 81

Description
The SCOTCH graphBase routine sets the base of all graph indices according to
the given base value, and returns the old base value. This routine is a helper
for applications that do not handle base values properly.
In Fortan, the old base value is returned in the third parameter of the function
call.
Return values
SCOTCH graphBase
returns the old base value.
7.5.8
SCOTCH graphCheck
Synopsis
int SCOTCH graphCheck (const SCOTCH Graph *
grafptr)
scotchfgraphcheck (doubleprecision (*)
grafdat,
integer
ierr)
Description
The SCOTCH graphCheck routine checks the consistency of the given SCOTCH
Graph
structure. It can be used in client applications to determine if a graph
that has been created from used-generated data by means of the SCOTCH
graphBuild
routine is consistent, prior to calling any other routines of the
libScotch
library.
Return values
SCOTCH graphCheck
returns 0 if graph data are consistent, and 1 else.
7.5.9
SCOTCH graphSize
Synopsis
void SCOTCH graphSize (const SCOTCH Graph *
grafptr,
SCOTCH Num *
vertptr,
SCOTCH Num *
edgeptr)
scotchfgraphsize (doubleprecision (*)
grafdat,
integer*num
vertnbr,
integer*num
edgenbr)
Description
The SCOTCH graphSize routine fills the two areas of type SCOTCH Num pointed
to by vertptr and edgeptr with the number of vertices and arcs (that is, twice
the number of edges) of the given graph pointed to by grafptr, respectively.
81