4 target architecture handling routines – Scotch Brand 5.1.10 User Manual
Page 70

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 as 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 values
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 structure
previously initialized by SCOTCH archInit. All subsequent calls to SCOTCH
arch
routines other than SCOTCH archInit, using this structure as parameter,
may yield unpredictable results.
7.4.3
SCOTCH archLoad
Synopsis
int SCOTCH archLoad (SCOTCH Arch *
archptr,
FILE *
stream)
scotchfarchload (doubleprecision (*)
archdat,
integer
fildes,
integer
ierr)
Description
70