# DMPlexGetScale
Get the scale for the specified fundamental unit 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetScale(DM dm, PetscUnit unit, PetscReal *scale)
```
Not collective


## Input Parameters

- ***dm   -*** the `DM`
- ***unit -*** The SI unit



## Output Parameter

- ***scale -*** The value used to scale all quantities with this unit





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexSetScale()`, `PetscUnit`

## Level
advanced

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


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