:orphan: # PetscDualSpaceSetNumComponents Set the number of components for this space ## Synopsis ``` #include "petscfe.h" PetscErrorCode PetscDualSpaceSetNumComponents(PetscDualSpace sp, PetscInt Nc) ``` ## Input Parameters - ***sp -*** The `PetscDualSpace` - ***order -*** The number of components ## See Also `PetscDualSpaceGetNumComponents()`, `PetscDualSpaceCreate()`, `PetscDualSpace` ## 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)