:orphan: # PetscDualSpaceGetDimension Get the dimension of the dual space, i.e. the number of basis functionals ## Synopsis ``` #include "petscfe.h" PetscErrorCode PetscDualSpaceGetDimension(PetscDualSpace sp, PetscInt *dim) ``` Not Collective ## Input Parameter - ***sp -*** The `PetscDualSpace` ## Output Parameter - ***dim -*** The dimension ## See Also `PetscDualSpace`, `PetscDualSpaceGetFunctional()`, `PetscDualSpaceCreate()` ## Level intermediate ## Location src/dm/dt/dualspace/interface/dualspace.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/dualspace/interface/dualspace.c) [Index of all DUALSPACE routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)