:orphan: # ISLocalToGlobalMappingGetNodeInfo Gets the neighbor information for each MPI rank ## Synopsis ``` #include "petscis.h" PetscErrorCode ISLocalToGlobalMappingGetNodeInfo(ISLocalToGlobalMapping mapping, PetscInt *nnodes, PetscInt *count[], PetscInt **indices[]) ``` Collective ## Input Parameter - ***mapping -*** the mapping from local to global indexing ## Output Parameters - ***nnodes -*** number of local nodes (same `ISLocalToGlobalMappingGetSize()`) - ***count -*** number of neighboring processors per node - ***indices -*** indices of processes sharing the node (sorted) ## Note The user needs to call `ISLocalToGlobalMappingRestoreInfo()` when the data is no longer needed. ## See Also [](sec_scatter), `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, `ISLocalToGlobalMappingCreate()`, `ISLocalToGlobalMappingGetInfo()`, `ISLocalToGlobalMappingRestoreNodeInfo()` ## Level advanced ## Location src/vec/is/utils/isltog.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/utils/isltog.c) [Index of all IS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)