-
Notifications
You must be signed in to change notification settings - Fork 135
Speed up idp correction function #2644
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
base: main
Are you sure you want to change the base?
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2644 +/- ##
=======================================
Coverage 96.85% 96.85%
=======================================
Files 546 546
Lines 43208 43211 +3
=======================================
+ Hits 41849 41852 +3
Misses 1359 1359
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DanielDoehring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
Some minor comments regarding code explanatory
|
The failing downstream test is expected since the test results from the sedov blast example slightly changed. I will adapt the file in Trixi2Vtk.jl when this one here is merged. |
|
Since the first 3d PR is merged, I will also add the updated version of the 3d correction stage in this PR. |
|
I added the new (updated) version of the 3d correction stage in e407366. and with polynomial degree of 5: |
This PR speeds up the implementation of
perform_idp_correction!byfor i in 2:nnodes(dg)instead of nodesfor i in eachnode(dg)since noifs are needed anymore.multiply_add_to_node_vars!Performance difference for polynomial degree of 3 (I'm using 1024 elements):
Polynomial degree of 5:
This was with Julia 1.12 on 1 thread.