# DMPlexCheckCellShape
Checks the Jacobian of the mapping from reference to real cells and computes some minimal statistics. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexCheckCellShape(DM dm, PetscBool output, PetscReal condLimit)
```
Collective on dm


## Input Parameters

- ***dm        -*** The `DMPLEX` object
- ***output    -*** If true, statistics will be displayed on stdout
- ***condLimit -*** Display all cells above this condition number, or `PETSC_DETERMINE` for no cell output





## Notes
This is mainly intended for debugging/testing purposes.

For the complete list of DMPlexCheck* functions, see `DMSetFromOptions()`.


## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMSetFromOptions()`, `DMPlexComputeOrthogonalQuality()`

## Level
developer

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/tutorials/ex9.c.html">src/dm/impls/plex/tutorials/ex9.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/forest/tutorials/ex1.c.html">src/dm/impls/forest/tutorials/ex1.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.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)  
