:orphan:
# DMMoabGetDofsBlockedLocal
Gets the local degree-of-freedom for the first field (component) defined on an array of MOAB EntityHandles. It is useful when performing local Blocked(Get/Set) methods in computation of element residuals and assembly of the discrete systems when all fields are co-located. 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetDofsBlockedLocal(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 blocked local degree-of-freedom index array in the discrete representation (Vec, Mat)





## See Also
 `DMMoabGetDofsLocal()`, `DMMoabGetDofs()`, `DMMoabGetDofsBlockedLocal()`

## Level
intermediate

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex36.cxx.html">src/ksp/ksp/tutorials/ex36.cxx</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex35.cxx.html">src/ts/tutorials/ex35.cxx</A><BR>


---
[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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
