Skip to content

Grudge Refactoring#116

Merged
inducer merged 5 commits intomainfrom
refactoring
Jun 5, 2021
Merged

Grudge Refactoring#116
inducer merged 5 commits intomainfrom
refactoring

Conversation

@thomasgibson
Copy link
Copy Markdown
Collaborator

@thomasgibson thomasgibson commented Jun 4, 2021

Requires/Targets #108 because of the dt_utils module. This PR cuts down the content in grudge.op and modularizes the projection/interpolation and the reductions.

This also removes op.nodes/op.normal. The reason for this is due to the discussion here: illinois-ceesd/mirgecom#360 (comment). Overall, I pretty much agree that it makes much more sense to keep nodes/normal with the discretization collection. Furthermore, we should not need to deprecate since Mirgecom (our only direct dependency) has yet to adopt the post-eager interface. So we have a unique opportunity here to make some decisions that won't cause widespread breakage.

It also semi-revives interp in anticipate of addressing issue #38 in a future PR (not this one). Also interp and project was intentially split into two modules. The reason I did this is that we may want to expand the behavior for these functions as more and more features get added. I think it will be easier to maintain them if we keep them self-contained.

Copy link
Copy Markdown
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

Thanks! I think I agree with the sentiment here. Two drive-by comments along the way.

Comment thread doc/operators.rst
Comment thread grudge/reductions.py
Base automatically changed from dt_utils to main June 5, 2021 00:13
@thomasgibson thomasgibson marked this pull request as ready for review June 5, 2021 00:23
@inducer inducer merged commit ffb9e38 into main Jun 5, 2021
@inducer inducer deleted the refactoring branch June 5, 2021 19:34
@inducer
Copy link
Copy Markdown
Owner

inducer commented Jun 5, 2021

Thanks!

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