ISStrideGetInfo#

Returns the first index in a stride index set and the stride width.

Synopsis#

#include "petscis.h"   
PetscErrorCode ISStrideGetInfo(IS is, PetscInt *first, PetscInt *step)

Not Collective

Input Parameter#

  • is - the index set

Output Parameters#

  • first - the first index

  • step - the stride width

Notes#

Returns info on stride index set. This is a pseudo-public function that should not be needed by most users.

See Also#

ISCreateStride(), ISGetSize(), ISSTRIDE

Level#

intermediate

Location#

src/vec/is/is/impls/stride/stride.c

Examples#

src/vec/is/is/tutorials/ex2.c.html
src/vec/is/is/tutorials/ex2f.F90.html


Edit on GitLab

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