Scotch Brand 5.1.10 User Manual
Page 99

stage, to call the SCOTCH meshCheck routine on the newly created SCOTCH
Mesh
structure, prior to any other calls to libScotch routines.
Return values
SCOTCH meshBuild
returns 0 if the mesh structure has been successfully set
with all of the input data, and 1 else.
7.8.6
SCOTCH meshCheck
Synopsis
int SCOTCH meshCheck (const SCOTCH Mesh *
meshptr)
scotchfmeshcheck (doubleprecision (*)
meshdat,
integer
ierr)
Description
The SCOTCH meshCheck routine checks the consistency of the given SCOTCH
Mesh
structure. It can be used in client applications to determine if a mesh
that has been created from used-generated data by means of the SCOTCH
meshBuild
routine is consistent, prior to calling any other routines of the
libScotch
library.
Return values
SCOTCH meshCheck
returns 0 if mesh data are consistent, and 1 else.
7.8.7
SCOTCH meshSize
Synopsis
void SCOTCH meshSize (const SCOTCH Mesh *
meshptr,
SCOTCH Num *
velmptr,
SCOTCH Num *
vnodptr,
SCOTCH Num *
edgeptr)
scotchfmeshsize (doubleprecision (*)
meshdat,
integer*num
velmnbr,
integer*num
vnodnbr,
integer*num
edgenbr)
Description
The SCOTCH meshSize routine fills the three areas of type SCOTCH Num pointed
to by velmptr, vnodptr and edgeptr with the number of element vertices,
node vertices and arcs (that is, twice the number of edges) of the given mesh
pointed to by meshptr, respectively.
Any of these pointers can be set to NULL on input if the corresponding infor-
mation is not needed. Else, the reference to a dummy area can be provided,
where all unwanted data will be written.
99