DMSwarmCellDMGetSort — PETSc 3.24.5 documentation

Skip to main content
`Ctrl`+`K`

# DMSwarmCellDMGetSort

Returns the sort context over the active `DMSwarmCellDM` for the `DMSwarm`

## Synopsis

    #include "petscdmswarm.h"
    PetscErrorCode DMSwarmCellDMGetSort(DMSwarmCellDM celldm, DMSwarmSort *sort)

Not Collective

## Input Parameter

- celldm - The `DMSwarmCellDM` object

## Output Parameter

- sort - The `DMSwarmSort` object

## See Also

`DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()`

## Level

intermediate

## Location

src/dm/impls/swarm/swarmpic.c

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