petsc-3.7.3 2016-08-01
Report Typos and Errors

PetscObjectsListGetGlobalNumbering

computes a global numbering of PetscObjects living on subcommunicators of a given communicator.

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscObjectsListGetGlobalNumbering(MPI_Comm comm, PetscInt len, PetscObject *objlist, PetscInt *count, PetscInt *numbering)

Collective on comm.

Input Parameters

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)

Output Parameters

count - global number of distinct subcommunicators on objlist (may be > len)
numbering - global numbers of objlist entries (allocated by user)

Level:developer
Location:
src/sys/objects/tagm.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages