:orphan: # PetscFESetType Builds a particular `PetscFE` ## Synopsis ``` #include "petscfe.h" PetscErrorCode PetscFESetType(PetscFE fem, PetscFEType name) ``` Collective ## Input Parameters - ***fem -*** The `PetscFE` object - ***name -*** The kind of FEM space ## Options Database Key - ***-petscfe_type -*** Sets the `PetscFE` type; use -help for a list of available types ## See Also `PetscFEType`, `PetscFE`, `PetscFEGetType()`, `PetscFECreate()` ## Level intermediate ## Location src/dm/dt/fe/interface/fe.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)