ISGlobalToLocalMappingApplyIS#
Creates from an IS
in the global numbering a new index set using the local numbering defined in an ISLocalToGlobalMapping
context.
Synopsis#
#include "petscis.h"
PetscErrorCode ISGlobalToLocalMappingApplyIS(ISLocalToGlobalMapping mapping, ISGlobalToLocalMappingMode type, IS is, IS *newis)
Not Collective
Input Parameters#
mapping - mapping between local and global numbering
type -
IS_GTOLM_MASK
- maps global indices with no local value to -1 in the output list (i.e., mask them)IS_GTOLM_DROP
- drops the indices with no local value from the output listis - index set in global numbering
Output Parameter#
newis - index set in local numbering
Note#
The output IS
will be sequential, as it encodes a purely local operation
See Also#
Low-level Vector Communication, ISGlobalToLocalMapping
, ISGlobalToLocalMappingApply()
, ISLocalToGlobalMappingCreate()
,
ISLocalToGlobalMappingDestroy()
Level#
advanced
Location#
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages