(3M) Calculator User Manual
7.10.7 SCOTCH stratGraphOrder
Synopsis
int SCOTCH stratGraphOrder (SCOTCH Strat * straptr,
const char * string)
scotchfstratgraphorder (doubleprecision (*) stradat,
character (*) string,
integer ierr)
Description
The SCOTCH
stratGraphOrder routine fills the strategy structure pointed to
by straptr with the graph ordering strategy string pointed to by string.
From this point, the strateg y structure can only be used as a graph ordering
strategy, to be used by function SCOTCH
graphOrder, for instance.
When using the C interface, the array of char acters pointed to by string
must be null-terminated.
Return val ues
SCOTCH stratGraphOrder returns 0 if the strategy str ing has been successfully
set, and 1 else.
7.10.8 SCOTCH stratGraphOrderBuild
Synopsis
int SCOTCH
stratGraphOrderBuild (SCOTCH Strat * straptr,
const SCOTCH Num flagval,
const double balrat)
scotchfstratgraphorderbuild (doubleprecision (*) stradat,
integer*num flagval,
doubleprecision balrat,
integer ierr)
Description
The SCOTCH
stratGraphOrderBuild routine fills the strategy structure
pointed to by straptr with a default ordering strategy tuned according to
the preference flags passed as flagval and to the desired nested dissection
imbalance ratio balrat. From this point, the strategy structure can only be
used as an ordering strategy, to be used by function SCOTCH
graphOrder, for
instance. See Section 7.3.1 for a description of the available flags.
Return val ues
SCOTCH
stratGraphOrderBuild returns 0 if the strategy string has been suc-
cessfully set, and 1 else.
111