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

ISSetPermutation

Informs the index set that it is a permutation.

Synopsis

#include "petscis.h" 
PetscErrorCode  ISSetPermutation(IS is)
Logically Collective on IS

Input Parmeters

is -the index set

The debug version of the libraries (./configure --with-debugging=1) checks if the index set is actually a permutation. The optimized version just believes you.

Note: The IS will be considered a permutation permanently, even if indices have been changes (for example, with ISGeneralSetIndices()). It's a good idea to only set this property if the IS will not change in the future. To clear this property, use ISClearInfoCache().

See Also

ISPermutation(), ISSetInfo(), ISClearInfoCache().

Level

intermediate

Location

src/vec/is/is/interface/index.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages