(3M) Calculator User Manual
The SCOTCH archLoad routine fills the SCOTCH Arch structure pointed to by
archptr with the source graph description available from stream stream in
the Scotch target a rchitecture format (see Section 5.4).
Fortra n users must use the PXFFILENO or FNUM functions to obtain the num-
ber of the Unix file descriptor fildes associated with the logical unit of the
architecture file.
Return val ues
SCOTCH
archLoad returns 0 if the targe t a rchitecture structure has be e n suc-
cessfully allocated and filled with the data read, and 1 else.
7.4.4 SCOTCH
archSave
Synopsis
int SCOTCH archSave (const SCOTCH Arch * archptr,
FILE * stream)
scotchfarchsave (doubleprecision (*) archdat,
integer fildes,
integer ierr)
Description
The SCOTCH
archSave routine saves the contents of the SCOTCH Arch structure
pointed to by archptr to stream stream, in the Scotch target architecture
format (see section 5.4).
Fortra n users must use the PXFFILENO or FNUM functions to obtain the num-
ber of the Unix file descriptor fildes associated with the logical unit of the
architecture file.
Return val ues
SCOTCH
archSave r eturns 0 if the graph structure has been successfully writ-
ten to stream, and 1 else.
7.4.5 SCOTCH archName
Synopsis
const char * SCOTCH
archName (const SCOTCH Arch * archptr)
scotchfarchname (doubleprecision (*) archdat,
character (*) chartab,
integer charnbr)
Description
The SCOTCH
archName function returns a string containing the name of the
architecture pointed to by archptr. Since Fortran routines cannot return
71