petsc-main 2021-04-20
Report Typos and Errors

DMCopyAuxiliaryVec

Copy the auxiliary data to a new DM

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMCopyAuxiliaryVec(DM dm, DM dmNew)
Not collective

Input Parameter

dm - The DM

Output Parameter

dmNew - The new DM, now with the same auxiliary data

See Also

DMGetNumAuxiliaryVec(), DMGetAuxiliaryVec(), DMSetAuxiliaryVec()

Level

advanced

Location

src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages