PetscSpaceSumSetInterleave — PETSc 3.25.0 documentation

Skip to main content
`Ctrl`+`K`

# PetscSpaceSumSetInterleave

Set whether the basis functions and components of a uniform sum are interleaved

## Synopsis

    #include "petscfe.h"
    PetscErrorCode PetscSpaceSumSetInterleave(PetscSpace sp, PetscBool interleave_basis, PetscBool interleave_components)

Logically collective

## Input Parameters

- sp - a `PetscSpace` of type `PETSCSPACESUM`

- interleave_basis - if `PETSC_TRUE`, the basis vectors of the subspaces are interleaved

- interleave_components - if `PETSC_TRUE` and the space concatenates components (`PetscSpaceSumGetConcatenate()`), interleave the concatenated components

## See Also

`PetscSpace`, `PETSCSPACESUM`, `PETSCFEVECTOR`, `PetscSpaceSumGetInterleave()`

## Level

developer

## Location

src/dm/dt/space/impls/sum/spacesum.c

## Implementations

PetscSpaceSumSetInterleave_Sum() in src/dm/dt/space/impls/sum/spacesum.c

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