petsc-3.13.6 2020-09-29
Report Typos and Errors

ISCreate

Creates an index set object.

Synopsis

#include "petscis.h"  
PetscErrorCode  ISCreate(MPI_Comm comm,IS *is)
Collective

Input Parameters

comm -the MPI communicator

Output Parameter

is -the new index set

Notes

When the communicator is not MPI_COMM_SELF, the operations on IS are NOT conceptually the same as MPI_Group operations. The IS are then distributed sets of indices and thus certain operations on them are collective.

See Also

ISCreateGeneral(), ISCreateStride(), ISCreateBlock(), ISAllGather()

Level

beginner

Location

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

Examples

src/ksp/ksp/tutorials/ex76.c.html
src/ksp/ksp/tutorials/ex76f.F90.html

Implementations

ISCreate_Block in src/vec/is/is/impls/block/block.c
ISCreate_General in src/vec/is/is/impls/general/general.c
ISCreate_Stride in src/vec/is/is/impls/stride/stride.c

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