:orphan: # DMPlexMetricGetNumIterations Get the number of parallel adaptation iterations ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexMetricGetNumIterations(DM dm, PetscInt *numIter) ``` ## Input parameters - ***dm -*** The `DM` ## Output parameters - ***numIter -*** the number of parallel adaptation iterations ## Note This is only used by Mmg and ParMmg (not Pragmatic or Mmg). ## See Also `DMPLEX`, `DMPlexMetricSetNumIterations()`, `DMPlexMetricGetVerbosity()` ## Level beginner ## Location src/dm/impls/plex/plexmetric.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexmetric.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)