Skip to main content
`Ctrl`+`K`

# PETSCDUALSPACESUM

“sum” - A `PetscDualSpace` object that encapsulates a sum of subspaces.

## Note

That sum can either be direct or a concatenation. For example if A and B are spaces each with 2 components, the direct sum of A and B will also have 2 components while the concatenated sum will have 4 components. In both cases A and B must be defined over the same reference element.

## See Also

`PetscDualSpace`, `PetscDualSpaceType`, `PetscDualSpaceCreate()`, `PetscDualSpaceSetType()`, `PetscDualSpaceSumGetNumSubspaces()`, `PetscDualSpaceSumSetNumSubspaces()`, `PetscDualSpaceSumGetConcatenate()`, `PetscDualSpaceSumSetConcatenate()`, `PetscDualSpaceSumSetInterleave()`, `PetscDualSpaceSumGetInterleave()`

## Level

intermediate

## Location

src/dm/dt/dualspace/impls/sum/dualspacesum.c

Index of all DUALSPACE routines
Table of Contents for all manual pages
Index of all manual pages