DMPlexMetricGetNumIterations — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# 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

Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages