(3M) Calculator User Manual
Description
The SCOTCH
graphBase routine sets the base of all graph indices according to
the given ba se value, and returns the old base va lue. This routine is a helper
for applications that do not handle base values properly.
In Fortan, the old bas e value is returned in the third parameter of the function
call.
Return val ues
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, prio r to calling any other routines of the
libScotch library.
Return val ues
SCOTCH
graphCheck returns 0 if graph data a re 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 po inted
to by vertptr and edgeptr with the number of vertices and arcs (that is, twic e
the number of edges) of the given graph pointed to by grafptr, respec tively.
81