ISSetType#

Builds a index set, for a particular ISType

Synopsis#

#include "petscis.h"  
PetscErrorCode ISSetType(IS is, ISType method)

Collective

Input Parameters#

  • is - The index set object

  • method - The name of the index set type

Options Database Key#

  • -is_type - Sets the index set type; use -help for a list of available types

Notes#

See “petsc/include/petscis.h” for available istor types (for instance, ISGENERAL, ISSTRIDE, or ISBLOCK).

Use ISDuplicate() to make a duplicate

See Also#

Low-level Vector Communication, IS, ISGENERAL, ISBLOCK, ISGetType(), ISCreate()

Level#

intermediate

Location#

src/vec/is/is/interface/isreg.c


Edit on GitLab

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