DragonFly On-Line Manual Pages

Search: Section:  


BSmake_off_map(3)                BlockSolve95                BSmake_off_map(3)

NAME

BSmake_off_map - Generate a mapping from global rows to processor id

INPUT PARAMETERS

offset - the offset of the local processor in the global numbering procinfo - the usual processor information max - the number of global rows

RETURNS

the mapping

NOTES

For example, processor 0 has 10 rows and an offset of 0, processor 1 has 3 rows and an offset of 10 and processor 2 has 4 rows and an offset of 13 (there are 3 processors and 17 rows). The offset mapping (see BSsparse.h) would have the offsets in sorted order with the corresponding processor id. In this way, given a global row number, one could determine the processor on which it lies.

SYNOPSIS

BSoff_map *BSmake_off_map(int offset, BSprocinfo *procinfo, int max)

LOCATION

BlockSolve95/src/BSmap.c 1/11/1996 BSmake_off_map(3)

Search: Section: