ISGetNonlocalIndices#
Retrieve an array of indices from remote processors in this communicator.
Synopsis#
#include "petscis.h"
PetscErrorCode ISGetNonlocalIndices(IS is, const PetscInt *indices[])
Collective
Input Parameter#
is - the index set
Output Parameter#
indices - indices with rank 0 indices first, and so on, omitting the current rank. Total number of indices is the difference total and local, obtained with
ISGetSize()
andISGetLocalSize()
, respectively.
Notes#
Restore the indices using ISRestoreNonlocalIndices()
.
The same scalability considerations as those for ISGetTotalIndices()
apply here.
See Also#
IS
, ISGetTotalIndices()
, ISRestoreNonlocalIndices()
, ISGetSize()
, ISGetLocalSize().
Level#
intermediate
Location#
src/vec/is/is/interface/index.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages