(3M) Calculator User Manual
stage, to call the SCOTCH meshCheck routine on the newly created SCOTCH
Mesh structure, prior to any other calls to libScotch routines.
Return val ues
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 ro utine is consistent, prior to calling a ny other routines of the
libScotch library.
Return val ues
SCOTCH
meshCheck returns 0 if mesh data are cons istent, 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 mes h
pointed to by meshptr, respectively.
Any of these pointers can be set to NULL on input if the corresponding infor-
mation is not nee ded. Else, the reference to a dummy area can be provided,
where all unwanted data will be written.
99