:orphan: # DMPlexSetRefinementLimit Set the maximum cell volume for refinement ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexSetRefinementLimit(DM dm, PetscReal refinementLimit) ``` ## Input Parameters - ***dm -*** The `DM` - ***refinementLimit -*** The maximum cell volume in the refined mesh ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMRefine()`, `DMPlexGetRefinementLimit()`, `DMPlexGetRefinementUniform()`, `DMPlexSetRefinementUniform()` ## Level developer ## Location src/dm/impls/plex/plexrefine.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexrefine.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)