(3M) Calculator User Manual
7.6.5 SCOTCH graphMapLoad
Synopsis
int SCOTCH
graphMapLoad (const SCOTCH Graph * grafptr,
SCOTCH
Mapping * mappptr,
FILE * stream)
scotchfgraphmapload (doubleprecision (*) grafdat,
doubleprecision (*) mappdat,
integer fildes,
integer ierr)
Description
The SCOTCH graphMapLoad routine fills the SCOTCH Mapping structure pointed
to by mappptr with the mapping data available in the Scotch mapping for-
mat (see section 5.5 ) from stream stream.
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
mapping file.
Return val ues
SCOTCH
graphMapLoad returns 0 if the mapping structure has been success-
fully loaded from stream, and 1 else.
7.6.6 SCOTCH graphMapSave
Synopsis
int SCOTCH
graphMapSave (const SCOTCH Graph * grafptr,
const SCOTCH Mapping * mappptr,
FILE * stream)
scotchfgraphmapsave (doubleprecision (*) grafdat,
doubleprecision (*) mappdat,
integer fildes,
integer ierr)
Description
The SCOTCH
graphMapSave routine saves the c ontents of the SCOTCH Mapping
structure pointed to by mappptr to stream stream, in the Scotch mapping
format (see section 5.5).
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
mapping file.
Return val ues
SCOTCH
graphMapSave returns 0 if the mapping structure has been success-
fully written to stream, and 1 else.
87