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 - numSubspacesof 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#
- sumSpace - a - PetscDualSpaceof type- PETSCDUALSPACESUM
See Also#
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