#include "petscis.h" PetscErrorCode ISSetIdentity(IS is)Logically Collective on IS
Note: The IS will be considered the identity 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().