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

composed map: add permute to kwarg #723

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

ksagiyam
Copy link
Contributor

@ksagiyam ksagiyam commented Jun 14, 2024

firedrakeproject/firedrake#3634

I found this bug when using the submesh branch with BCs on vector components. It is hard to test with our current usage of ComposedMap in Firedrake. I wonder this can just go in.

connorjward
connorjward previously approved these changes Jun 14, 2024
Copy link
Collaborator

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

Looks fine to me. Happy for this to be merged assuming Firedrake tests pass.

@ksagiyam
Copy link
Contributor Author

Actually, a pyop2 test failed, which suggested a better fix. Could you have a look again?

@ksagiyam
Copy link
Contributor Author

Rerunning Firedrake CI.

Copy link
Collaborator

@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 feel like lambdas as properties must be some sort of anti-pattern. Otherwise no issue and definitely better than before.

pyop2/codegen/builder.py Outdated Show resolved Hide resolved
pyop2/codegen/builder.py Outdated Show resolved Hide resolved
ksagiyam and others added 2 commits June 14, 2024 20:59
@ksagiyam
Copy link
Contributor Author

Indeed. Rerunning Firedrake CI.

@connorjward connorjward merged commit 5f18075 into master Jun 18, 2024
4 checks passed
@connorjward connorjward deleted the ksagiyam/fix_composed_map branch June 18, 2024 09:26
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.

2 participants