:orphan:
# DMMoabGetFieldDof
Gets the global degree-of-freedom of a field (component) defined on a particular MOAB EntityHandle. 
## Synopsis
```
#include "petscdmmoab.h"   
PetscErrorCode DMMoabGetFieldDof(DM dm, moab::EntityHandle point, PetscInt field, PetscInt *dof)
```
Not Collective


## Input Parameters

- ***dm     -*** the discretization manager object
- ***point -*** the MOAB EntityHandle container which holds the field degree-of-freedom values
- ***field -*** the field (component) index



## Output Parameter

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





## See Also
 `DMMoabGetFieldDofs()`, `DMMoabGetFieldDofsLocal()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmbfield.cxx.html#DMMoabGetFieldDof">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
