(3M) Calculator User Manual

7.11.4 SCOTCH graphGeomLoadChac
Synopsis
int SCOTCH graphGeomLoadChac (SCOTCH Graph * grafptr,
SCOTCH
Geom * geomptr,
FILE * grafstream,
FILE * geomstream,
const char * string)
scotchfgraphgeomloadchac (doubleprecision (*) grafdat,
doubleprecision (*) geomdat,
integer graffildes,
integer geomfildes,
character (*) string)
Description
The SCOTCH
graphGeomLoadChac routine fills the SCOTCH Graph structure
pointed to by grafptr with the source graph description available from stream
grafstream in the Chaco graph format [24]. Since this gr aph format does
not handle geometry data, the geomptr and geomstream fields are not used,
as well as the string field.
Fortra n users must use the PXFFILENO or FNUM functions to obtain the number
of the Unix file descriptor graffildes as sociated with the logical unit of the
graph file.
Return val ues
SCOTCH
graphGeomLoadChac returns 0 if the graph structure has been suc-
cessfully allocated and filled with the data read, and 1 else.
7.11.5 SCOTCH
graphGeomSaveChac
Synopsis
int SCOTCH graphGeomSaveChac (const SCOTCH Graph * grafptr,
const SCOTCH Geom * geomptr,
FILE * grafstream,
FILE * geomstream,
const char * string)
scotchfgraphgeomsavechac (doubleprecision (*) grafdat,
doubleprecision (*) geomdat,
integer graffildes,
integer geomfildes,
character (*) string)
Description
115