#include "petscsys.h" PetscErrorCode PetscObjectsListGetGlobalNumbering(MPI_Comm comm, PetscInt len, PetscObject *objlist, PetscInt *count, PetscInt *numbering)Collective.
comm | - MPI_Comm | |
len | - local length of objlist | |
objlist | - a list of PETSc objects living on subcomms of comm and containing this comm rank (subcomm ordering is assumed to be deadlock-free) |
count | - global number of distinct subcommunicators on objlist (may be > len) | |
numbering | - global numbers of objlist entries (allocated by user) |