-
Notifications
You must be signed in to change notification settings - Fork 114
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
WIP: Custom Integrators: Add support for save_everystep==true
#1689
WIP: Custom Integrators: Add support for save_everystep==true
#1689
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. |
I never really used |
I don't have a strong opinion here but I propose to follow YAGNI: do not implement anything you do not need, since every unused feature costs time during development, testing, maintenance, and understanding the code base. If you want to avoid silent errors, I would find it more suitable to throw an error that says that this feature is not implemented. Then again, I have no strong opinion here. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1689 +/- ##
===========================================
+ Coverage 82.10% 96.10% +13.99%
===========================================
Files 425 425
Lines 34382 34410 +28
===========================================
+ Hits 28229 33067 +4838
+ Misses 6153 1343 -4810
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
I basically agree with @sloede - if you don't need it, you shouldn't implement it. Note that it is quite easy to blow up your memory if you use |
Okay, thank you both. I'll just keep the branch for the case I need it someday, and close the PR. |
For the existing custom integrators, the parameter
save_everystep
has no significance. I changed that exemplary forSimpleIntegratorSSP
and would add it toSimpleIntegrator2N
andSimpleIntegrator3Sstar
if desired.