:orphan:
# ISType
String with the name of a PETSc index set type 
## Synopsis
```
#include "petscis.h" 
typedef const char *ISType;
#define ISGENERAL "general"
#define ISSTRIDE  "stride"
#define ISBLOCK   "block"

```

## Values

- ***`ISGENERAL` -*** the values are stored with an array of indices and generally have no structure
- ***`ISSTRIDE` -*** the values have a simple structure of an initial offset and then a step size between values
- ***`ISBLOCK` -*** values are an array of indices, each representing a block of values





## See Also
 `ISSetType()`, `IS`, `ISCreateGeneral()`, `ISCreateStride()`, `ISCreateBlock()`, `ISCreate()`, `ISRegister()`,
`VecScatterCreate()`, `MatGetSubMatrices()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscis.h.html#ISType">include/petscis.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscis.h)


[Index of all IS routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
