ISGeneralSetIndices#

Sets the indices for an ISGENERAL index set

Synopsis#

#include "petscis.h"  
PetscErrorCode ISGeneralSetIndices(IS is, PetscInt n, const PetscInt idx[], PetscCopyMode mode)

Collective on IS

Input Parameters#

  • is - the index set

  • n - the length of the index set

  • idx - the list of integers

  • mode - see PetscCopyMode for meaning of this flag.

See Also#

ISCreateGeneral(), ISGeneralSetIndicesFromMask(), ISBlockSetIndices(), ISGENERAL, PetscCopyMode

Level#

beginner

Location#

src/vec/is/is/impls/general/general.c

Implementations#

ISGeneralSetIndices_General in src/vec/is/is/impls/general/general.c


Edit on GitLab

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