DMSwarmCellDMSetSort#

Sets the sort context over the active DMSwarmCellDM for the DMSwarm

Synopsis#

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

Not Collective

Input Parameters#

Note#

User should destroy sort afterward with DMSwarmSortDestroy(), as the DMSwarmCellDM will hold a reference.

See Also#

DMSwarmCellDM, DM, DMSwarmSetCellDM(), DMSwarmSortGetAccess(), DMSwarmSortDestroy()

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