# PetscFEGetHeightSubspace
Get the subspace of this space for a mesh point of a given height 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFEGetHeightSubspace(PetscFE fe, PetscInt height, PetscFE *subfe)
```

## Input Parameters

- ***fe     -*** The finite element space
- ***height -*** The height of the Plex point



## Output Parameter

- ***subfe  -*** The subspace of this FE space





## Note
For example, if we want the subspace of this space for a face, we would choose height = 1.


## See Also
 `PetscFECreateDefault()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fe/interface/fe.c.html#PetscFEGetHeightSubspace">src/dm/dt/fe/interface/fe.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fe/interface/fe.c)


[Index of all FE routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
