PetscDualSpaceCreateSum#

Create a finite element dual basis that is the sum of other dual bases

Synopsis#

#include "petscfe.h" 
PetscErrorCode PetscDualSpaceCreateSum(PetscInt numSubspaces, const PetscDualSpace subspaces[], PetscBool concatenate, PetscDualSpace *sumSpace)

Collective

Input Parameters#

  • numSubspaces - the number of spaces that will be added together

  • subspaces - an array of length numSubspaces of spaces

  • concatenate - if PETSC_FALSE, the sum-space has the same components as the individual dual spaces (PetscDualSpaceGetNumComponents()); if PETSC_TRUE, the individual components are concatenated to create a dual space with more components

Output Parameter#

See Also#

PetscDualSpace, PETSCDUALSPACESUM, PETSCSPACESUM

Level#

advanced

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