Scotch Brand 5.1.10 User Manual
Page 110

7.10.5
SCOTCH stratGraphMap
Synopsis
int SCOTCH stratGraphMap (SCOTCH Strat *
straptr,
const char *
string)
scotchfstratgraphmap (doubleprecision (*)
stradat,
character (*)
string,
integer
ierr)
Description
The SCOTCH stratGraphMap routine fills the strategy structure pointed to by
straptr
with the graph mapping strategy string pointed to by string. From
this point, the strategy structure can only be used as a mapping strategy, to
be used by function SCOTCH graphMap, for instance.
When using the C interface, the array of characters pointed to by string
must be null-terminated.
Return values
SCOTCH stratGraphMap
returns 0 if the strategy string has been successfully
set, and 1 else.
7.10.6
SCOTCH stratGraphMapBuild
Synopsis
int SCOTCH stratGraphMapBuild (SCOTCH Strat *
straptr,
const SCOTCH Num
flagval,
const SCOTCH Num
partnbr,
const double
balrat)
scotchfstratgraphmapbuild (doubleprecision (*)
stradat,
integer*num
flagval,
integer*num
partnbr,
doubleprecision
balrat,
integer
ierr)
Description
The SCOTCH stratGraphMapBuild routine fills the strategy structure pointed
to by straptr with a default mapping strategy tuned according to the pref-
erence flags passed as flagval and to the desired number of parts partnbr
and imbalance ratio balrat. From this point, the strategy structure can
only be used as a mapping strategy, to be used by function SCOTCH graph
Map
, for instance. See Section 7.3.1 for a description of the available flags.
Return values
SCOTCH stratGraphMapBuild
returns 0 if the strategy string has been suc-
cessfully set, and 1 else.
110