(3M) Calculator User Manual
This routine is useful to get the size of a mesh read by means of the SCOTCH
meshLoad r outine, in order to allocate auxilia ry 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 ro utine.
It is a multiple accessor that returns scalar va lues 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
Fortra n). velmptr and vnodptr are po inters to locations that will hold the
number of element and no de 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 s ize
(*velmptr+*vnodptr) else. vendtab is the pointer to a locatio n that will hold
100