PETSc version 3.16.5
Fix/Edit manual page

# DMSwarmSortRestoreAccess

Invalidates the DMSwarm point sorting context

### Synopsis

    PETSC_EXTERN PetscErrorCode DMSwarmSortRestoreAccess(DM dm)

Not collective

### Input parameter

| dm | - a DMSwarm object

### Note

You must call DMSwarmSortGetAccess() before calling DMSwarmSortRestoreAccess()

### See Also

DMSwarmSetType(), DMSwarmSortGetAccess()

### Level

advanced

### Location

src/dm/impls/swarm/swarmpic_sort.c

### Examples

src/dm/tutorials/ex20.c.html
src/ksp/ksp/tutorials/ex70.c.html
Index of all DMSWARM routines
Table of Contents for all manual pages
Index of all manual pages