#include "petscis.h" PetscErrorCode ISGetTotalIndices(IS is, const PetscInt *indices)Collective on IS
Notes: this is potentially nonscalable, but depends on the size of the total index set and the size of the communicator. This may be feasible for index sets defined on subcommunicators, such that the set size does not grow with PETSC_WORLD_COMM. Note also that there is no way to tell where the local part of the indices starts (use ISGetIndices() and ISGetNonlocalIndices() to retrieve just the local and just the nonlocal part (complement), respectively).
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages