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

test_gradient: test warped mesh, overintegration #329

Merged
merged 7 commits into from
Mar 4, 2024
Merged

Conversation

inducer
Copy link
Owner

@inducer inducer commented Feb 23, 2024

  • Drop meshmode-repoint

@inducer inducer marked this pull request as ready for review March 4, 2024 00:31
@inducer inducer marked this pull request as ready for review March 4, 2024 21:32
@inducer inducer enabled auto-merge (rebase) March 4, 2024 21:32
@inducer inducer merged commit 4cab8a8 into main Mar 4, 2024
6 checks passed
@inducer inducer deleted the grad-test-overint branch March 4, 2024 21:47
discr_tag_to_group_factory[DISCR_TAG_BASE]
)
if DISCR_TAG_MODAL not in discr_tag_to_group_factory and order is not None:
discr_tag_to_group_factory[DISCR_TAG_MODAL] = ModalGroupFactory(order)
Copy link
Collaborator

Choose a reason for hiding this comment

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

@inducer Question about this: shouldn't the modal group factory be set up in the order is None case too? Can we retrieve the order from whatever factory is being used for DISCR_TAG_BASE? (Seeing some failures related to this in mirgecom, hence my asking.)

Copy link
Owner Author

Choose a reason for hiding this comment

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

I agree, it would be ideal if the modal group was set up unconditionally. Unfortunately, I couldn't figure out a robust way to make that happen. Group factories are just callables, so discr_tag_to_group_factory[DISCR_TAG_BASE].order isn't guaranteed to work. We could try that (and give up if it doesn't work), which would make the situation incrementally better. (The previous version of the code unconditionally did that, so...) But it's not a bulletproof fix either. I would be OK with a PR that does this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be better to just set it up on the mirgecom side inside create_discretization_collection? We have access to order there.

Copy link
Collaborator

Choose a reason for hiding this comment

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

(Something like illinois-ceesd/mirgecom#1013.)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yes, that's a good approach.

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