# DMPlexMetricCreateIsotropic
Construct an isotropic metric from an error indicator 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexMetricCreateIsotropic(DM dm, PetscInt f, Vec indicator, Vec *metric)
```

## Input parameters

- ***dm        -*** The DM
- ***f         -*** The field number to use
- ***indicator -*** The error indicator



## Output parameter

- ***metric    -*** The isotropic metric





## Notes

It is assumed that the DM is comprised of simplices.

The indicator needs to be a scalar field. If it is not defined vertex-wise, then it is projected appropriately.


## See Also
 `DMPlexMetricCreate()`, `DMPlexMetricCreateUniform()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexmetric.c.html#DMPlexMetricCreateIsotropic">src/dm/impls/plex/plexmetric.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
