ISBuildTwoSided#

Takes an IS that describes where each element will be mapped globally over all ranks. Generates an IS that contains new numbers from remote or local on the IS.

Synopsis#

#include "petscis.h"  
PetscErrorCode ISBuildTwoSided(IS ito, IS toindx, IS *rows)

Collective

Input Parameters#

  • ito - an IS describes to which rank each entry will be mapped. Negative target rank will be ignored

  • toindx - an IS describes what indices should send. NULL means sending natural numbering

Output Parameter#

  • rows - contains new numbers from remote or local

Developer Notes#

This manual page is incomprehensible and still needs to be fixed

See Also#

Low-level Vector Communication, IS, MatPartitioningCreate(), ISPartitioningToNumbering(), ISPartitioningCount()

Level#

advanced

Location#

src/vec/is/is/utils/iscoloring.c

Examples#

src/ksp/ksp/tutorials/ex64.c


Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages