petsc-3.3-p7 2013-05-11

MatIJBinRenumber

map the support indices to their global numbers within their image bins. If the image indices are interpreted as colors labeling subdomains, then each global subdomain is given a new contiguous zero-based numbering uniquely defined by the following: the new vertex numbers increase with the owning processor's rank, and within each rank they are arranged according to their order in the local portion of the bin.

Synopsis

#undef  __FUNCT__
#define __FUNCT__ "MatIJBinRenumber"
PetscErrorCode MatIJBinRenumber(Mat A, Mat *B) 

Collective on A.

Input arguments

A -pseudograph

Output arguments

B -renumbering pseudograph

Notes: observe that each local support index might be mapped to the same global index multiple times, if it happens to have the same number within different bins. In order to decide which color each of the new numbers refers to, it is useful to use the result B in conjunction with the original pseudograph A as the second and first argument to MatIJBinMap(), respectively. By construction, B is compatible to A in the sense of MatIJBinMap().

Keywords

pseudograph, coloring, binning, numbering

See Also

MatIJBinMap()

Level:advanced
Location:
src/mat/impls/ij/matij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages