:orphan: # DMPlexSetScale Set the scale for the specified fundamental unit ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexSetScale(DM dm, PetscUnit unit, PetscReal scale) ``` Not Collective ## Input Parameters - ***dm -*** the `DM` - ***unit -*** The SI unit - ***scale -*** The value used to scale all quantities with this unit ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexGetScale()`, `PetscUnit` ## Level advanced ## Location src/dm/impls/plex/plexfem.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexfem.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)