petsc-3.7.7 2017-09-25
Report Typos and Errors

ISContiguousLocal

Locates an index set with contiguous range within a global range, if possible

Synopsis

#include "petscis.h" 
PetscErrorCode  ISContiguousLocal(IS is,PetscInt gstart,PetscInt gend,PetscInt *start,PetscBool *contig)
Not Collective

Input Parmeters

Output Parameters

is - the index set
gstart - global start
gend - global end
start - start of contiguous block, as an offset from gstart
contig - PETSC_TRUE if the index set refers to contiguous entries on this process, else PETSC_FALSE

See Also

ISGetLocalSize(), VecGetOwnershipRange()

Level:developer
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