DMCopyDisc#
Copy the fields and discrete systems for the DM into another DM
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMCopyDisc(DM dm, DM newdm)
Collective
Input Parameter#
dm - The
DM
Output Parameter#
newdm - The
DM
Developer Note#
Really ugly name, nothing in PETSc is called a Disc plus it is an ugly abbreviation
See Also#
DM Basics, DM, DMCopyFields(), DMCopyDS()
Level#
advanced
Location#
Examples#
src/dm/dt/fe/tests/ex1.c
src/dm/dt/fe/tests/ex2.c
src/dm/dt/fe/tests/ex3.c
src/dm/dt/tests/ex10.c
src/dm/impls/forest/tests/ex2.c
src/dm/impls/plex/tests/ex3.c
src/dm/impls/plex/tests/ex39.c
src/dm/impls/plex/tests/ex46.c
src/dm/impls/plex/tests/ex49.c
src/dm/impls/plex/tests/ex57.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages