# DMPlexMetricSetMaximumAnisotropy
Set the maximum tolerated metric anisotropy 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexMetricSetMaximumAnisotropy(DM dm, PetscReal a_max)
```

## Input parameters

- ***dm    -*** The DM
- ***a_max -*** The maximum tolerated metric anisotropy




Note: If the value zero is given then anisotropy will not be restricted. Otherwise, it should be at least one.


## See Also
 `DMPlexMetricGetMaximumAnisotropy()`, `DMPlexMetricSetMaximumMagnitude()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexmetric.c.html#DMPlexMetricSetMaximumAnisotropy">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)  
