Scotch Brand 5.1.10 User Manual

Page 97

Advertising
background image

7.8.4

SCOTCH meshSave

Synopsis

int SCOTCH meshSave (const SCOTCH Mesh *

meshptr,

FILE *

stream)

scotchfmeshsave (doubleprecision (*)

meshdat,

integer

fildes,

integer

ierr)

Description

The SCOTCH meshSave routine saves the contents of the SCOTCH Mesh structure
pointed to by meshptr to stream stream, in the Scotch mesh format (see
section 5.2).

Fortran users must use the PXFFILENO or FNUM functions to obtain the number
of the Unix file descriptor fildes associated with the logical unit of the mesh
file.

Return values

SCOTCH meshSave

returns 0 if the mesh structure has been successfully written

to stream, and 1 else.

7.8.5

SCOTCH meshBuild

Synopsis

int SCOTCH meshBuild (SCOTCH Mesh *

meshptr,

const SCOTCH Num

velmbas,

const SCOTCH Num

vnodbas,

const SCOTCH Num

velmnbr,

const SCOTCH Num

vnodnbr,

const SCOTCH Num *

verttab,

const SCOTCH Num *

vendtab,

const SCOTCH Num *

velotab,

const SCOTCH Num *

vnlotab,

const SCOTCH Num *

vlbltab,

const SCOTCH Num

edgenbr,

const SCOTCH Num *

edgetab)

97

Advertising