Scotch Brand 5.1.10 User Manual
Page 100

This routine is useful to get the size of a mesh read by means of the SCOTCH
meshLoad
routine, in order to allocate auxiliary arrays of proper sizes. If the
whole structure of the mesh is wanted, function SCOTCH meshData should be
preferred.
7.8.8
SCOTCH meshData
Synopsis
void SCOTCH meshData (const SCOTCH Mesh *
meshptr,
SCOTCH Num *
vebaptr,
SCOTCH Num *
vnbaptr,
SCOTCH Num *
velmptr,
SCOTCH Num *
vnodptr,
SCOTCH Num **
verttab,
SCOTCH Num **
vendtab,
SCOTCH Num **
velotab,
SCOTCH Num **
vnlotab,
SCOTCH Num **
vlbltab,
SCOTCH Num *
edgeptr,
SCOTCH Num **
edgetab,
SCOTCH Num *
degrptr)
scotchfmeshdata (doubleprecision (*)
meshdat,
integer*num (*)
indxtab,
integer*num
velobas,
integer*num
vnlobas,
integer*num
velmnbr,
integer*num
vnodnbr,
integer*idx
vertidx,
integer*idx
vendidx,
integer*idx
veloidx,
integer*idx
vnloidx,
integer*idx
vlblidx,
integer*num
edgenbr,
integer*idx
edgeidx,
integer*num
degrmax)
Description
The SCOTCH meshData routine is the dual of the SCOTCH meshBuild routine.
It is a multiple accessor that returns scalar values and array references.
vebaptr
and vnbaptr are pointers to locations that will hold the mesh base
value for elements and nodes, respectively (the minimum of these two val-
ues is typically 0 for structures built from C and 1 for structures built from
Fortran). velmptr and vnodptr are pointers to locations that will hold the
number of element and node vertices, respectively. verttab is the pointer
to a location that will hold the reference to the adjacency index array, of
size (*velmptr + *vnodptr + 1) if the adjacency array is compact, or of size
(*velmptr+*vnodptr) else. vendtab is the pointer to a location that will hold
100