#include "petscis.h" PetscErrorCode ISCreateBlock(MPI_Comm comm,PetscInt bs,PetscInt n,const PetscInt idx[],PetscCopyMode mode,IS *is)Collective

comm | - the MPI communicator | |

bs | - number of elements in each block | |

n | - the length of the index set (the number of blocks) | |

idx | - the list of integers, one for each block, the integers contain the index of the first entry of each block divided by the block size | |

mode | - see PetscCopyMode, only PETSC_COPY_VALUES and PETSC_OWN_POINTER are supported in this routine |

is | - the new index set |

src/vec/is/is/tutorials/ex3.c.html

src/vec/is/is/tutorials/ex3f90.F90.html

src/ksp/ksp/tutorials/ex71.c.html

Index of all IS routines

Table of Contents for all manual pages

Index of all manual pages