:orphan: # DMPlexMetricSetNumIterations Set the number of parallel adaptation iterations ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexMetricSetNumIterations(DM dm, PetscInt numIter) ``` ## Input parameters - ***dm -*** The `DM` - ***numIter -*** the number of parallel adaptation iterations ## Note This is only used by ParMmg (not Pragmatic or Mmg). ## See Also `DMPLEX`, `DMPlexMetricSetVerbosity()`, `DMPlexMetricGetNumIterations()` ## 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)