# PetscFESetUp
Construct data structures for the `PetscFE` after the `PetscFEType` has been set 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFESetUp(PetscFE fem)
```
Collective on fem


## Input Parameter

- ***fem -*** the `PetscFE` object to setup





## See Also
 `PetscFE`, `PetscFEView()`, `PetscFEDestroy()`

## Level
intermediate

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fe/impls/basic/febasic.c.html#PetscFESetUp_Basic">PetscFESetUp_Basic in src/dm/dt/fe/impls/basic/febasic.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fe/impls/composite/fecomposite.c.html#PetscFESetUp_Composite">PetscFESetUp_Composite in src/dm/dt/fe/impls/composite/fecomposite.c</A><BR>


---
[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)  
