DMSwarmCellDMCreate#

create a DMSwarmCellDM

Synopsis#

#include "petscdmswarm.h"   
PetscErrorCode DMSwarmCellDMCreate(DM dm, PetscInt Nf, const char *dmFields[], PetscInt Nfc, const char *coordFields[], DMSwarmCellDM *celldm)

Collective

Input Parameter#

  • dm - The background DM for the DMSwarm

  • Nf - The number of swarm fields defined over dm

  • dmFields - The swarm field names for the dm fields

  • Nfc - The number of swarm fields to use for coordinates over dm

  • coordFields - The swarm field names for the dm coordinate fields

Output Parameter#

See Also#

DMSwarmCellDM, DMSWARM, DMSetType()

Level#

advanced

Location#

src/dm/impls/swarm/swarmpic.c


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