# DMMoabGetDofsLocal
Gets the local degree-of-freedom for all fields (components) defined on an array of MOAB EntityHandles. 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetDofsLocal(DM dm, PetscInt npoints, const moab::EntityHandle *points, PetscInt *dof)
```
Not Collective


## Input Parameters

- ***dm     -*** the discretization manager object
- ***npoints -*** the total number of Entities in the points array
- ***points -*** the MOAB EntityHandle container array which holds the field degree-of-freedom values



## Output Parameter

- ***dof -*** the local degree-of-freedom index array corresponding to the field in the discrete representation (Vec, Mat)





## See Also
 `DMMoabGetFieldDofs()`, `DMMoabGetDofs()`, `DMMoabGetDofsBlocked()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmbfield.cxx.html#DMMoabGetDofsLocal">src/dm/impls/moab/dmmbfield.cxx</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmbfield.cxx)


[Index of all DMMOAB routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
