.TH BSmake_off_map 3 "1/11/1996" " " "BlockSolve95" .SH NAME BSmake_off_map \- Generate a mapping from global rows to processor id .SH INPUT PARAMETERS .PD 0 .TP .B offset - the offset of the local processor in the global numbering .PD 1 .PD 0 .TP .B procinfo - the usual processor information .PD 1 .PD 0 .TP .B max - the number of global rows .PD 1 .SH RETURNS the mapping .SH 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. .SH SYNOPSIS .nf BSoff_map *BSmake_off_map(int offset, BSprocinfo *procinfo, int max) .fi .SH LOCATION BlockSolve95/src/BSmap.c