Skip to content

Automate docs element list for interpolation#4854

Open
leo-collins wants to merge 9 commits intoreleasefrom
leo/element_list
Open

Automate docs element list for interpolation#4854
leo-collins wants to merge 9 commits intoreleasefrom
leo/element_list

Conversation

@leo-collins
Copy link
Copy Markdown
Contributor

@leo-collins leo-collins requested a review from pbrubeck February 2, 2026 11:50
Comment thread docs/source/element_list.py Outdated
Comment thread docs/source/variational-problems.rst
Comment thread docs/source/variational-problems.rst Outdated
@leo-collins leo-collins changed the base branch from main to release April 21, 2026 10:35
Copy link
Copy Markdown
Contributor

@connorjward connorjward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please unmark this as draft

Comment thread docs/source/element_list.py Outdated

csvwriter.writerow((family, short_name, shape, cellnames))
if family in {"Q", "DQ", "DQ L2"}:
cell = cell_list[-1]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes zero sense without a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we can't do these elements on an interval, even though it says in the manual we can. I think the correct fix is in finat/ufl/elementlist.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that seems more reasonable, but @pbrubeck needs to look this all over. Once this line goes I'm happy with everything else.

Comment thread docs/source/element_list.py
Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>
@leo-collins leo-collins marked this pull request as ready for review April 21, 2026 11:31
Comment thread docs/source/element_list.py Outdated
pbrubeck
pbrubeck previously approved these changes Apr 21, 2026
Comment thread pyproject.toml Outdated
Co-authored-by: Pablo Brubeck <brubeck@protonmail.com>
@leo-collins leo-collins force-pushed the leo/element_list branch 3 times, most recently from 6f8c2f4 to 521e3fb Compare April 22, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants