PetscFECreateFromSpaces#

Create a PetscFE from the basis and dual spaces

Synopsis#

Collective

Input Parameters#

  • P - The basis space

  • Q - The dual space

  • q - The cell quadrature

  • fq - The face quadrature

Output Parameter#

Note#

The PetscFE takes ownership of these spaces by calling destroy on each. They should not be used after this call, and for borrowed references from PetscFEGetSpace() and the like, the caller must use PetscObjectReference before this call.

See Also#

PetscFE, PetscSpace, PetscDualSpace, PetscQuadrature, PetscFECreateLagrangeByCell(), PetscFECreateDefault(), PetscFECreateByCell(), PetscFECreate(), PetscSpaceCreate(), PetscDualSpaceCreate()

Level#

beginner

Location#

src/dm/dt/fe/interface/fe.c


Edit on GitLab

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