DMCopyTransform#

Copy the basis transform context and callbacks from dm to newdm

Synopsis#

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMCopyTransform(DM dm, DM newdm)

Not Collective

Input Parameter#

  • dm - the source DM

Output Parameter#

  • newdm - the destination DM

Note#

If the transform requires setup, DMConstructBasisTransform_Internal() is invoked on newdm.

See Also#

DM Basics, DM, DMCopyDS(), DMCopyDisc()

Level#

developer

Location#

src/dm/interface/dm.c


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