2408.05217

Total: 1

#1 Implementing a Restricted Function Space Class in Firedrake [PDF] [Copy] [Kimi] [REL]

Author: Emma Rothwell

The implementation process of a RestrictedFunctionSpace class in Firedrake, a Python library which numerically solves partial differential equations through the use of the finite element method, is documented. This includes an introduction to the current FunctionSpace class in Firedrake, and the key features that it has. With the current FunctionSpace class, the limitations of the capabilities of the solvers in Firedrake when imposing Dirichlet boundary conditions are explored, as well as what the RestrictedFunctionSpace class does differently to remove these issues. These will be considered in both a mathematical way, and in the code as an abstraction of the mathematical ideas presented. Finally, the benefits to the user of the RestrictedFunctionSpace class are considered, and demonstrated through tests and comparisons. This leads to the conclusion that in particular, the eigensolver in Firedrake is improved through the use of the RestrictedFunctionSpace, through the removal of eigenvalues associated with the Dirichlet boundary conditions for a system.

Subjects: Mathematical Software , Numerical Analysis

Publish: 2024-07-24 16:47:01 UTC