:orphan: # DMMoabSetFieldName Sets the name of a field (component) managed by the DM ## Synopsis ``` #include "petscdmmoab.h" PetscErrorCode DMMoabSetFieldName(DM dm, PetscInt field, const char *fieldName) ``` Not Collective ## Input Parameters - ***dm -*** the discretization manager object - ***field -*** the field number - ***fieldName -*** the field (component) name ## Notes Can only be called after DMMoabSetFields supplied with correct numFields ## See Also `DMMoabGetFieldName()`, `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)