DMLabelPermuteValues#

Permute the values in a label

Synopsis#

#include "petscdmlabel.h"   
#include "petscsection.h"   
PetscErrorCode DMLabelPermuteValues(DMLabel label, IS permutation)

Not collective

Input Parameters#

  • label - the DMLabel

  • permutation - the value permutation, permutation[old value] = new value

Output Parameter#

  • label - the DMLabel now with permuted values

Note#

The modification is done in-place

See Also#

DMLabelRewriteValues(), DMLabel, DM, DMLabelPermute(), DMLabelCreate(), DMLabelGetValue(), DMLabelSetValue(), DMLabelClearValue()

Level#

intermediate

Location#

src/dm/label/dmlabel.c


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