Scotch Brand 5.1.10 User Manual
Page 115

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 graph format does
not handle geometry data, the geomptr and geomstream fields are not used,
as well as the string field.
Fortran users must use the PXFFILENO or FNUM functions to obtain the number
of the Unix file descriptor graffildes associated with the logical unit of the
graph file.
Return values
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