Scotch Brand 5.1.10 User Manual

Page 112

Advertising
background image

7.10.9

SCOTCH stratMeshOrder

Synopsis

int SCOTCH stratMeshOrder (SCOTCH Strat *

straptr,

const char *

string)

scotchfstratmeshorder (doubleprecision (*)

stradat,

character (*)

string,

integer

ierr)

Description

The SCOTCH stratMeshOrder routine fills the strategy structure pointed to by
straptr

with the mesh ordering strategy string pointed to by string. From

this point, strategy strat can only be used as a mesh ordering strategy, to
be used by function SCOTCH meshOrder, for instance.

When using the C interface, the array of characters pointed to by string
must be null-terminated.

Return values

SCOTCH stratMeshOrder

returns 0 if the strategy string has been successfully

set, and 1 else.

7.10.10

SCOTCH stratMeshOrderBuild

Synopsis

int SCOTCH stratMeshOrderBuild (SCOTCH Strat *

straptr,

const SCOTCH Num

flagval,

const double

balrat)

scotchfstratmeshorderbuild (doubleprecision (*)

stradat,

integer*num

flagval,

doubleprecision

balrat,

integer

ierr)

Description

The SCOTCH stratMeshOrderBuild routine fills the strategy structure pointed
to by straptr with a default ordering strategy tuned according to the prefer-
ence 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 meshOrder, for instance.
See Section 7.3.1 for a description of the available flags.

Return values

SCOTCH stratMesdOrderBuild

returns 0 if the strategy string has been suc-

cessfully set, and 1 else.

112

Advertising