(3M) Calculator User Manual

7.4 Target architecture handling routines
7.4.1 SCOTCH
archInit
Synopsis
int SCOTCH
archInit (SCOTCH Arch * archptr)
scotchfarchinit (doubleprecision (*) archdat,
integer ierr)
Description
The SCOTCH archInit function initializes a SCOTCH Arch structure so a s to
make it suitable for future operations. It should be the first function to be
called upon a SCOTCH
Arch structure. When the target architecture data is
no longer of use, call function SCOTCH archExit to free its internal structures.
Return val ues
SCOTCH
archInit returns 0 if the graph structure has been successfully ini-
tialized, and 1 else.
7.4.2 SCOTCH archExit
Synopsis
void SCOTCH
archExit (SCOTCH Arch * archptr)
scotchfarchexit (doubleprecision (*) archdat)
Description
The SCOTCH
archExit function frees the contents of a SCOTCH Arch str uctur e
previously initialized by SCOTCH archInit. All subsequent calls to SCOTCH
arch routines other than SCOTCH archInit, using this structure as parameter,
may yield unpr e dictable results.
7.4.3 SCOTCH
archLoad
Synopsis
int SCOTCH archLoad (SCOTCH Arch * archptr,
FILE * stream)
scotchfarchload (doubleprecision (*) archdat,
integer fildes,
integer ierr)
Description
70