:orphan: # DMMoabGetFieldName Gets the names of individual field components in multicomponent vectors associated with a DMDA. ## Synopsis ``` #include "petscdmmoab.h" PetscErrorCode DMMoabGetFieldName(DM dm, PetscInt field, const char **fieldName) ``` Not Collective ## Input Parameters - ***dm -*** the discretization manager object - ***field -*** field number for the DMMoab (0, 1, ... dof-1), where dof indicates the number of degrees of freedom per node within the DMMoab ## Output Parameter - ***fieldName -*** the name of the field (component) ## See Also `DMMoabSetFieldName()`, `DMMoabSetFields()` ## Level intermediate ## 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)