(3M) Calculator User Manual

int SCOTCH graphGeomLoadScot (SCOTCH Graph * grafptr,
SCOTCH Geom * geomptr,
FILE * grafstream,
FILE * geomstream,
const char * string)
scotchfgraphgeomloadscot (doubleprecision (*) grafdat,
doubleprecision (*) geomdat,
integer graffildes,
integer geomfildes,
character (*) string)
Description
The SCOTCH
graphGeomLoadScot routine fills the SCOTCH Graph and SCOTCH
Geom structures pointed to by grafptr and geomptr with the source graph
description and geometry data available from streams grafstream and geom
stream in the Scotch graph and geometry forma ts (see sec tions 5.1 and 5.3,
respectively). The string field is not used.
Fortra n users must use the PXFFILENO or FNUM functions to obtain the numbers
of the Unix file descriptors graffildes and geomfildes associated with the
logical units of the graph and geometry files.
Return val ues
SCOTCH
graphGeomLoadScot returns 0 if the graph to po logy and geometry
have be e n successfully allocated and filled with the data read, and 1 else.
7.11.8 SCOTCH graphGeomSaveScot
Synopsis
int SCOTCH
graphGeomSaveScot (const SCOTCH Graph * grafptr,
const SCOTCH
Geom * geomptr,
FILE * grafstream,
FILE * geomstream,
const char * string)
scotchfgraphgeomsavescot (doubleprecision (*) grafdat,
doubleprecision (*) geomdat,
integer graffildes,
integer geomfildes,
character (*) string)
Description
The SCOTCH
graphGeomSaveScot routine saves the contents of the SCOTCH
Graph and SCOTCH Geom structures pointed to by grafptr and geomptr to
streams grafstream and geomstream, in the Scotch graph and geometry
formats (see sections 5.1 and 5.3, respectively). The string field is not used.
117