DMSwarmDuplicate#
Creates a new DMSWARM
with the same fields and cell DM
s but no particles
Synopsis#
#include "petscdmswarm.h"
PetscErrorCode DMSwarmDuplicate(DM sw, DM *nsw)
Collective
Input Parameter#
sw - the
DMSWARM
Output Parameter#
nsw - the new
DMSWARM
See Also#
Level#
beginner
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages