: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 src/dm/impls/moab/dmmbfield.cxx --- [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)