Scotch Brand 5.1.10 User Manual

Page 119

Advertising
background image

scotchfmeshgeomloadscot (doubleprecision (*)

meshdat,

doubleprecision (*)

geomdat,

integer

meshfildes,

integer

geomfildes,

character (*)

string)

Description

The SCOTCH meshGeomLoadScot routine fills the SCOTCH Mesh and SCOTCH
Geom

structures pointed to by meshptr and geomptr with the source mesh

description and node geometry data available from streams meshstream and
geomstream

in the Scotch mesh and geometry formats (see sections 5.2

and 5.3, respectively). The string field is not used.

Fortran users must use the PXFFILENO or FNUM functions to obtain the numbers
of the Unix file descriptors meshfildes and geomfildes associated with the
logical units of the mesh and geometry files.

Return values

SCOTCH meshGeomLoadScot

returns 0 if the mesh topology and node geometry

have been successfully allocated and filled with the data read, and 1 else.

7.11.11

SCOTCH meshGeomSaveScot

Synopsis

int SCOTCH meshGeomSaveScot (const SCOTCH Mesh *

meshptr,

const SCOTCH Geom *

geomptr,

FILE *

meshstream,

FILE *

geomstream,

const char *

string)

scotchfmeshgeomsavescot (doubleprecision (*)

meshdat,

doubleprecision (*)

geomdat,

integer

meshfildes,

integer

geomfildes,

character (*)

string)

Description

The SCOTCH meshGeomSaveScot routine saves the contents of the SCOTCH
Mesh

and SCOTCH Geom structures pointed to by meshptr and geomptr to

streams meshstream and geomstream, in the Scotch mesh and geometry
formats (see sections 5.2 and 5.3, respectively). The string field is not used.

Fortran users must use the PXFFILENO or FNUM functions to obtain the numbers
of the Unix file descriptors meshfildes and geomfildes associated with the
logical units of the mesh and geometry files.

Return values

SCOTCH meshGeomSaveScot

returns 0 if the mesh topology and node geometry

have been successfully written to meshstream and geomstream, and 1 else.

119

Advertising