# PetscSpaceSumGetConcatenate
Get the concatenate flag for this space. A concatenated sum space will have number of components equal to the sum of the number of components of all subspaces. A non-concatenated, or direct sum space will have the same number of components as its subspaces . 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscSpaceSumGetConcatenate(PetscSpace sp, PetscBool *concatenate)
```

## Input Parameters

- ***sp -*** the function space object



## Output Parameters

- ***concatenate -*** flag indicating whether subspaces are concatenated.





## See Also
 `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumSetConcatenate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/space/impls/sum/spacesum.c.html#PetscSpaceSumGetConcatenate">src/dm/dt/space/impls/sum/spacesum.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/space/impls/sum/spacesum.c.html#PetscSpaceSumGetConcatenate_Sum">PetscSpaceSumGetConcatenate_Sum in src/dm/dt/space/impls/sum/spacesum.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/space/impls/sum/spacesum.c)


[Index of all SPACE routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
