Scotch Brand 5.1.10 User Manual
Page 71

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 architecture format (see Section 5.4).
Fortran 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 values
SCOTCH archLoad
returns 0 if the target architecture structure has been 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).
Fortran 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 values
SCOTCH archSave
returns 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