Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature][ElementTypes] Added 4d element types #95

Merged

Conversation

dr-robertk
Copy link
Contributor

This PR adds 4d element types to cell.py and elementlist.py.
While for the 4d cube there seems to be only one name, tesseract, for the 4d simplex it's not so clear.
Here I chose pentatope following the paper https://www.sciencedirect.com/science/article/abs/pii/S0168927421000994.

Copy link
Collaborator

@wence- wence- left a comment

Choose a reason for hiding this comment

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

I think I am happy with this (and the names).

@dr-robertk
Copy link
Contributor Author

Thanks. I'm not sure if there are other places in UFL that need adjustment. This patch worked for me though.

@dr-robertk
Copy link
Contributor Author

Thanks for taking care of it.

@mscroggs mscroggs changed the base branch from main to mscroggs/4d-element-types August 9, 2023 21:11
@mscroggs
Copy link
Member

mscroggs commented Aug 9, 2023

Merging this into a side branch so I can correctly merge the changes to cell on main into this PR

@mscroggs mscroggs merged commit ef3c7ae into FEniCS:mscroggs/4d-element-types Aug 9, 2023
0 of 11 checks passed
@mscroggs mscroggs mentioned this pull request Aug 9, 2023
mscroggs added a commit that referenced this pull request Aug 10, 2023
* [feature][ElementTypes] Added 4d types pentatope (4d simplex) and tesseract (4d cube). (#95)

Co-authored-by: Jack S. Hale <mail@jackhale.co.uk>
Co-authored-by: David A. Ham <david.ham@imperial.ac.uk>
Co-authored-by: Matthew Scroggs <matthew.w.scroggs@gmail.com>

* fix merge, add test

---------

Co-authored-by: dr-robertk <dr-robertk@users.noreply.github.com>
Co-authored-by: Jack S. Hale <mail@jackhale.co.uk>
Co-authored-by: David A. Ham <david.ham@imperial.ac.uk>
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.

None yet

5 participants