:orphan: # PetscFEGetNumDof Returns the number of dofs (dual basis vectors) associated to mesh points on the reference cell of a given dimension ## Synopsis ``` #include "petscfe.h" PetscErrorCode PetscFEGetNumDof(PetscFE fem, const PetscInt **numDof) ``` Not Collective ## Input Parameter - ***fem -*** The `PetscFE` object ## Output Parameter - ***numDof -*** Array with the number of dofs per dimension ## See Also `PetscFE`, `PetscSpace`, `PetscDualSpace`, `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)