DMGetElements

Gets an array containing the indices (in local coordinates) of all the local elements

Synopsis

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

Input Parameter

dm - the DM object

Output Parameters

n - number of local elements
e - the indices of the elements vertices

See Also

DMElementType, DMSetElementType(), DMRestoreElements()

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