PetscSpaceSumSetNumSubspaces#

Set the number of spaces in the sum space

Synopsis#

#include "petscfe.h" 
PetscErrorCode PetscSpaceSumSetNumSubspaces(PetscSpace sp, PetscInt numSumSpaces)

Input Parameters#

  • sp - the function space object

  • numSumSpaces - the number of spaces

Note#

The name NumSubspaces is slightly misleading because it is actually setting the number of defining spaces of the sum, not a number of Subspaces of it

See Also#

PETSCSPACESUM, PetscSpace, PetscSpaceSumGetNumSubspaces(), PetscSpaceSetDegree(), PetscSpaceSetNumVariables()

Level#

intermediate

Location#

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

Implementations#

PetscSpaceSumSetNumSubspaces_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