:orphan: # DMMoabGetMaterialBlock Get the material ID corresponding to the current entity of the DM Mesh ## Synopsis ``` #include "petscdmmoab.h" PetscErrorCode DMMoabGetMaterialBlock(DM dm, const moab::EntityHandle ehandle, PetscInt *mat) ``` Collective ## Input Parameters - ***dm -*** The DMMoab object - ***ehandle -*** The element entity handle ## Output Parameter - ***mat -*** The material ID for the current entity ## Level beginner ## Location src/dm/impls/moab/dmmoab.cxx --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmoab.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)