(3M) Calculator User Manual
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 ins tance.
When using the C interface, the array of char acters pointed to by string
must be null-terminated.
Return val ues
SCOTCH
stratGraphMap retur ns 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 par ts 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 descr iption of the available flags.
Return val ues
SCOTCH
stratGraphMapBuild returns 0 if the strategy string has been s uc-
cessfully set, and 1 else.
110