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

DMPlexPermute

Reorder the mesh according to the input permutation

Synopsis

#include "petscdmplex.h"   
#include "petscmat.h"      
PetscErrorCode DMPlexPermute(DM dm, IS perm, DM *pdm)
Collective on dm

Input Parameter

dm - The DMPlex object
perm - The point permutation, perm[old point number] = new point number

Output Parameter

pdm -The permuted DM

See Also

MatPermute()

Level

intermediate

Location

src/dm/impls/plex/plexreorder.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages