Finite Elements (PetscFE)#

The PetscFE class encapsulates a finite element discretization. Each PetscFE object contains a PetscSpace, its dual PetscDualSpace, and a DMPLEX in the classic Ciarlet triple representation (https://finite-element.github.io/2_finite_elements.html).

There are many SNES Examples using PetscFE, such ex12, ex17, and ex62.

Developer Note: Using an entire DMPLEX object to provide the cell information seems unnecessary and complicated. Why not have a simple PetscCell object that could encapsulate this information. It could then be used by a variety of DM etc.

Beginner - Basic usage#

Intermediate - Setting options for algorithms and data structures#

Advanced - Setting more advanced options and customization#

Developer - Interfaces rarely needed by applications programmers#

Single list of manual pages#