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 Parameters#
dm - The background
DMfor theDMSwarmNf - The number of swarm fields defined over
dmdmFields - The swarm field names for the
dmfieldsNfc - The number of swarm fields to use for coordinates over
dmcoordFields - The swarm field names for the
dmcoordinate 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