-
Notifications
You must be signed in to change notification settings - Fork 112
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
More efficient PERK implementation #2180
More efficient PERK implementation #2180
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2180 +/- ##
==========================================
+ Coverage 96.37% 96.39% +0.02%
==========================================
Files 483 483
Lines 38333 38320 -13
==========================================
- Hits 36943 36938 -5
+ Misses 1390 1382 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
The new functions look more compact and are valid for s = e, the only relevant case for single methods as you mentioned before. However, should we also document that standalone methods only handle s = e
? #2146
src/time_integration/paired_explicit_runge_kutta/methods_PERK3.jl
Outdated
Show resolved
Hide resolved
src/time_integration/paired_explicit_runge_kutta/paired_explicit_runge_kutta.jl
Outdated
Show resolved
Hide resolved
Yes, if this not mentioned yet explicitly we should do that 👍 |
Done! |
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.
I just have a few small questions.
src/time_integration/paired_explicit_runge_kutta/paired_explicit_runge_kutta.jl
Show resolved
Hide resolved
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.
Thanks!
Please note #1880 ... |
Essentially this bundles some functions and reduces the number of assignments at the expense of repeated arithmetic operations.
@warisa-r can you take a first look?