Scotch Brand 5.1.10 User Manual
Page 111

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 strategy 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 characters pointed to by string
must be null-terminated.
Return values
SCOTCH stratGraphOrder
returns 0 if the strategy string 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 values
SCOTCH stratGraphOrderBuild
returns 0 if the strategy string has been suc-
cessfully set, and 1 else.
111