5 graph handling routines – Scotch Brand 5.1.10 User Manual
Page 77

Return values
SCOTCH archTorus3D
returns 0 if the 3D torus target architecture has been
successfully built, and 1 else.
7.5
Graph handling routines
7.5.1
SCOTCH graphInit
Synopsis
int SCOTCH graphInit (SCOTCH Graph *
grafptr)
scotchfgraphinit (doubleprecision (*)
grafdat,
integer
ierr)
Description
The SCOTCH graphInit function initializes a SCOTCH Graph structure so as to
make it suitable for future operations. It should be the first function to be
called upon a SCOTCH Graph structure. When the graph data is no longer of
use, call function SCOTCH graphExit to free its internal structures.
Return values
SCOTCH graphInit
returns 0 if the graph structure has been successfully ini-
tialized, and 1 else.
7.5.2
SCOTCH graphExit
Synopsis
void SCOTCH graphExit (SCOTCH Graph *
grafptr)
scotchfgraphexit (doubleprecision (*)
grafdat)
Description
The SCOTCH graphExit function frees the contents of a SCOTCH Graph struc-
ture previously initialized by SCOTCH graphInit. All subsequent calls to
SCOTCH graph
routines other than SCOTCH graphInit, using this structure
as parameter, may yield unpredictable results.
7.5.3
SCOTCH graphFree
Synopsis
void SCOTCH graphFree (SCOTCH Graph *
grafptr)
scotchfgraphfree (doubleprecision (*)
grafdat)
77