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

General hypercube #134

Merged
merged 13 commits into from
Mar 19, 2025
Merged

General hypercube #134

merged 13 commits into from
Mar 19, 2025

Conversation

indiamai
Copy link

Builds on #68 in a way compatible with fuse development.

Co-authored-by: Pablo Brubeck <brubeck@protonmail.com>
@pbrubeck
Copy link

Looks good in general. Could the UFCHypercube be a class on its own?

@indiamai
Copy link
Author

Looks good in general. Could the UFCHypercube be a class on its own?

Good shout, have modified to have this be the case

@indiamai indiamai closed this Mar 18, 2025
@indiamai indiamai reopened this Mar 18, 2025
Copy link

@pbrubeck pbrubeck left a comment

Choose a reason for hiding this comment

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

I am happy to merge this PR at this point, if you are also happy with that. Arguably this does not need new tests, as it is just refactoring.

@pbrubeck
Copy link

We need to run firedrake CI, of course

@indiamai
Copy link
Author

We need to run firedrake CI, of course

How do you typically do that for a fiat only change? open a firedrake branch/pull request and just change the ci to run on this branch?

@pbrubeck
Copy link

pbrubeck commented Mar 18, 2025

How do you typically do that for a fiat only change? open a firedrake branch/pull request and just change the ci to run on this branch?

Correct, in the firedrake branch you add this to .github/workflows/build.yml before line ~88 firedrake-clean

pip install "fenics-fiat @ git+https://github.com/firedrakeproject/fiat.git@your/branch/name"

@indiamai
Copy link
Author

How do you typically do that for a fiat only change? open a firedrake branch/pull request and just change the ci to run on this branch?

Correct, in the firedrake branch you add this to .github/workflows/build.yml before line ~88 firedrake-clean

pip install "fenics-fiat @ git+https://github.com/firedrakeproject/fiat.git@your/branch/name"

Great thanks i'll set that up.

@indiamai
Copy link
Author

Firedrake tests all passing here firedrakeproject/firedrake#4124

@pbrubeck
Copy link

We would have to rerun the tests. It seems crucial to tell pip to ignore the original installation by passing -I, so the right command is

pip install -I "fenics-fiat @ git+https://github.com/firedrakeproject/fiat.git@your/branch/name"

@pbrubeck
Copy link

We should add a test for the previous commit

@indiamai
Copy link
Author

We should add a test for the previous commit

Some FIAT tests added and all firedrake tests now passing

Copy link

@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.

I don't understand the code so these are just style points!

indiamai and others added 2 commits March 19, 2025 15:22
Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>
@dham dham merged commit 77ad0c0 into master Mar 19, 2025
8 checks passed
@dham dham deleted the indiamai/general-hypercube branch March 19, 2025 16:33
pbrubeck pushed a commit that referenced this pull request Mar 21, 2025
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.

5 participants