Repository navigation
docs: take the DefElement page names from FInAT - #5716
Merged
Merged
Conversation
pbrubeck
changed the base branch from
pbrubeck/merge-release-into-main
to
release
November 25, 2026 11:21
FInAT now keeps the map from each element family to its DefElement page next to supported_elements, and a FIAT test checks that the map covers every family. A new element in FIAT therefore no longer breaks the Firedrake documentation build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pbrubeck
force-pushed
the
pbrubeck/defelement-names-from-finat
branch
from
November 25, 2026 11:21
2566ebc to
37755e7
Compare
connorjward
approved these changes
Nov 25, 2026
This was referenced Nov 25, 2026
…t-names-from-finat
Contributor
Author
|
Docs is green. Merging this now. |
pbrubeck
added a commit
that referenced
this pull request
Nov 27, 2026
* Minor notebook fixes (#5626) Fix typos and formatting issues. --------- Co-authored-by: Pablo Brubeck <brubeck@protonmail.com> Co-authored-by: Leo Collins <collins.leo@proton.me> * Remove confusing instruction when installing PETSc (#5426) Just running make is sufficient for beginner usage. * Add instructions for using TAU profiler (#5581) * Add instructions for setting up the TAU profiling tools --------- Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk> * Replay NonlinearVariationalSolver with its Jp and objective (#5558) The forward problem cloned for replay dropped the preconditioner Jp and the objective E, so a replay whose solve depends on them did not reproduce the forward run. The clone now copies their coefficients with the same replacement map as the residual, the solve block depends on their coefficients, and their checkpointed values are assigned before each replay. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * docs: move supported elements to their own manual page, and link to defelement.org (#5622) * docs: move supported elements to their own manual page Move the "Supported finite elements" and "Element variants" sections out of variational-problems.rst into a new page, supported-elements.rst, and add it to the manual's table of contents after variational-problems. A short pointer to the new page is left in place. The new page: - states that a family can be given by either its full name or its abbreviation; - says that the table is generated from finat/ufl/elementlist.py in FIAT; - points to DefElement for what each element actually is. element_list.py now sorts the table alphabetically by name, ignoring case, and leaves the abbreviation empty when a family has none or when it is the same as the name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: list element aliases in the supported elements table Rename the "Abbreviation" column to "Other names" and fill it with the abbreviation and the aliases from finat.ufl.elementlist that always select the same family. The FEEC aliases depend on the cell dimension and the form degree, so the page describes them in prose instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: link each supported element to its DefElement page element_list.py maps each family to its DefElement page name, or to None where DefElement has no page, and makes the family name in the table a link to that page. A family that is missing from the map gets a warning when the table is generated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update docs/source/element_list.py Co-authored-by: Pablo Brubeck <brubeck@protonmail.com> * simplify and localize helper function; remove doc string for it * use set comparison code suggested by @connorjward to error-out if defelem_names is out of date * Update docs/source/element_list.py Co-authored-by: Pablo Brubeck <brubeck@protonmail.com> * docs: list short names as other names of supported elements Add the short name of each family to the "Other names" column, write the names as a comma-separated list, and tidy element_list.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiE9Ec3iqMwq3KFfKCfi2h --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Pablo Brubeck <brubeck@protonmail.com> * Use system HDF5 for macOS (#5383) Building through PETSc is no longer necessary * Fix the parameter sections of L2TransformedFunctional docstrings (#5572) * AGENTS.md: reinstall petsc4py without -e after a PETSc rebuild (#5530) An editable install of petsc4py reads lib/petsc.cfg from the source tree, where it is the template "PETSC_DIR = %(PETSC_DIR)s". The build writes the real values only into the build directory, so petsc4py.get_config() raises InterpolationDepthError and import firedrake fails. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Rewrite AGENTS.md from repeated review comments (#5691) * Rewrite AGENTS.md from repeated review comments Rewrite the rules in AGENTS.md from the comments that reviewers repeat most often on pull requests that were approved after changes were requested. State each rule as a short instruction, and keep the existing section headings. Add rules for tests: compare against exact or independently computed values, test behaviour instead of implementation details, do not hardcode numbers from a previous run, and check one property in each test. Add a WRONG/RIGHT example of an overloaded parametrized test. Shorten the toolchain notes and the anti-pattern examples, and refer to pyop3 instead of PyOP2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Refine AGENTS.md coding and testing guidance * Clarify MPI assertions and pull request descriptions --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Fix links to the API documentation (#5720) * Fix links to the API documentation The API pages moved under apidoc/, so links written as full URLs to firedrake.html and firedrake.preconditioners.html returned 404 and failed the documentation linkcheck. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Link to the release API documentation The site root serves the documentation of the current release, and /firedrake/ serves the documentation of the main branch. Readers of the notebooks and of the error message should see the release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Remove the check for the inc keyword of PCG64 The check is from 2021. NumPy rejects the inc keyword with a TypeError. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Describe the current PCG64 constructor in the inc notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Pin UFL minor version and take latest FIAT minor release (#5718) * Pin UFL minor version and take latest FIAT minor release * docs: take the DefElement page names from FInAT (#5716) FInAT now keeps the map from each element family to its DefElement page next to supported_elements, and a FIAT test checks that the map covers every family. A new element in FIAT therefore no longer breaks the Firedrake documentation build. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk> Co-authored-by: Leo Collins <collins.leo@proton.me> Co-authored-by: Dave Acreman <d.m.acreman@exeter.ac.uk> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Ed Bueler <elbueler@alaska.edu> Co-authored-by: Lim Jooyoung <74720422+mmporong@users.noreply.github.com>
pbrubeck
added a commit
that referenced
this pull request
Nov 27, 2026
FInAT now keeps the map from each element family to its DefElement page next to supported_elements, and a FIAT test checks that the map covers every family. A new element in FIAT therefore no longer breaks the Firedrake documentation build. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The supported elements page links each family to DefElement. It takes the family-to-page map from FInAT now (firedrakeproject/fiat#319), not from a local copy. A FIAT test checks that the map covers every family, so a new FIAT element no longer breaks the Firedrake docs build, as it does in #5711.
The generated table does not change.
Evidence
make -C docs htmlon DO NOT SQUASH merge release into main #5711:KeyError: "defelement_names has no entry for ['Reduced-Hermite', 'Reduced-Walkington', 'Rotated-Bernardi-Raugel']"After:
python element_list.pywith FIATreleaseplus Add defelement_names next to supported_elements fiat#319 writes the same 69 rows as before.Merge Danger
Door: two-way
Blast Radius: docs
Needs firedrakeproject/fiat#319 first.
releaseinstallsfiredrake-fiat==2026.10from PyPI, which has nodefelement_names, so the docs build fails onreleaseuntil a FIAT release with #319 is published and the pin is bumped.The AI tool Claude Code (Claude Opus 5.5) prepared this PR.
🤖 Generated with Claude Code