struct _p_ISLocalToGlobalMapping{ PETSCHEADER(int); PetscInt n; /* number of local indices */ PetscInt *indices; /* global index of each local index */ PetscInt globalstart; /* first global referenced in indices */ PetscInt globalend; /* last + 1 global referenced in indices */ PetscInt *globals; /* local index for each global index between start and end */ };
Note: mapping from Local to Global is scalable; but Global to Local may not be if the range of global values represented locally is very large.
Note: the ISLocalToGlobalMapping is actually a private object; it is included here for the inline function ISLocalToGlobalMappingApply() to allow it to be inlined since it is used so often.
Level:intermediate
Location:src/vec/is/../../../include/petscis.h
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages