Scotch Brand 5.1.10 User Manual

Page 106

Advertising
background image

Description

The SCOTCH meshOrderSave routine saves the contents of the SCOTCH
Ordering

structure pointed to by ordeptr to stream stream, in the Scotch

ordering format (see section 5.6).

Return values

SCOTCH meshOrderSave

returns 0 if the ordering structure has been success-

fully written to stream, and 1 else.

7.9.5

SCOTCH meshOrderSaveMap

Synopsis

int SCOTCH meshOrderSaveMap (const SCOTCH Mesh *

meshptr,

const SCOTCH Ordering *

ordeptr,

FILE *

stream)

scotchfmeshordersavemap (doubleprecision (*)

meshdat,

doubleprecision (*)

ordedat,

integer

fildes,

integer

ierr)

Description

The SCOTCH meshOrderSaveMap routine saves the block partitioning data as-
sociated with the SCOTCH Ordering structure pointed to by ordeptr to stream
stream

, in the Scotch mapping format (see section 5.5). A target domain

number is associated with every block, such that all node vertices belonging
to the same block are shown as belonging to the same target vertex.

This mapping file can then be used by the gout program (see section 6.3.12)
to produce pictures showing the different separators and blocks. Since gout
only takes graphs as input, the mesh has to be converted into a graph by
means of the gmk msh program (see section 6.3.8).

Return values

SCOTCH meshOrderSaveMap

returns 0 if the ordering structure has been suc-

cessfully written to stream, and 1 else.

7.9.6

SCOTCH meshOrderSaveTree

Synopsis

int SCOTCH meshOrderSaveTree (const SCOTCH Mesh *

meshptr,

const SCOTCH Ordering *

ordeptr,

FILE *

stream)

scotchfmeshordersavetree (doubleprecision (*)

meshdat,

doubleprecision (*)

ordedat,

integer

fildes,

integer

ierr)

106

Advertising