petsc-3.14.5 2021-03-03
Report Typos and Errors

# 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