:orphan:
# DMPlexTransformExtrudeGetTensor
Get the flag to use tensor cells 
## Synopsis
```
#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformExtrudeGetTensor(DMPlexTransform tr, PetscBool *useTensor)
```
Not Collective


## Input Parameter

- ***tr  -*** The `DMPlexTransform`



## Output Parameter

- ***useTensor -*** The flag to use tensor cells



## Note
This flag determines the orientation behavior of the created points.

For example, if tensor is `PETSC_TRUE`, then
```none
  DM_POLYTOPE_POINT_PRISM_TENSOR is made instead of DM_POLYTOPE_SEGMENT,
  DM_POLYTOPE_SEG_PRISM_TENSOR instead of DM_POLYTOPE_QUADRILATERAL,
  DM_POLYTOPE_TRI_PRISM_TENSOR instead of DM_POLYTOPE_TRI_PRISM, and
  DM_POLYTOPE_QUAD_PRISM_TENSOR instead of DM_POLYTOPE_HEXAHEDRON.
```





## See Also
 `DMPlexTransform`, `DMPlexTransformExtrudeSetTensor()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/impls/extrude/plextrextrude.c.html#DMPlexTransformExtrudeGetTensor">src/dm/impls/plex/transform/impls/extrude/plextrextrude.c</A>


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