DMRestoreElements

Returns an array containing the indices (in local coordinates) of all the local elements obtained with DMGetElements()

Synopsis

#include "petscda.h"   
PetscErrorCode PETSCDM_DLLEXPORT DMRestoreElements(DM dm,PetscInt *n,const PetscInt *e[])
Not Collective

Input Parameter

dm - the DM object
n - number of local elements
e - the indices of the elements vertices

See Also

DMElementType, DMSetElementType(), DMGetElements()

Level:intermediate
Location:
src/dm/da/src/da.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages