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 theDMSwarm
Nf - The number of swarm fields defined over
dm
dmFields - The swarm field names for the
dm
fieldsNfc - The number of swarm fields to use for coordinates over
dm
coordFields - The swarm field names for the
dm
coordinate fields
Output Parameter#
celldm - The new
DMSwarmCellDM
See Also#
Level#
advanced
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages