:orphan: # 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 `DMPLEX`, `DMPlexMetricGetMaximumAnisotropy()`, `DMPlexMetricSetMaximumMagnitude()` ## 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)