Also return errorsmatrix in convergence_test#2753
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 #2753 +/- ##
==========================================
- Coverage 97.03% 97.03% -0.00%
==========================================
Files 570 570
Lines 44644 44643 -1
==========================================
- Hits 43320 43319 -1
Misses 1324 1324
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:
|
ranocha
left a comment
There was a problem hiding this comment.
Thanks! I converted this to a draft PR so that nobody merges it accidentally.
ranocha
left a comment
There was a problem hiding this comment.
Do we need to adapt https://trixi-framework.github.io/TrixiDocumentation/stable/#Performing-a-convergence-analysis as well?
Everything explained in that section still works because it didn't say anything about the returned values of |
|
That would be nice indeed 👍 |
|
Should we maybe also return the whole |
|
Good suggestion. I would slightly prefer returning the EOCs and the errors. A general-purpose method to compute EOCs may be helpful but also confusing, since we use a fixed refinement by a factor of two and do not need the flexibility to use something that is increasing (number of time steps) or decreasing (time step size). |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ranocha
left a comment
There was a problem hiding this comment.
Thanks a lot! This looks mostly good to me - I just have a minor suggestion.
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
* also return errorsmatrix in convergence_test * add NEWS entry * fix PR numbers in NEWS * fix version numbers in NEWS * fix analyze_convrgence for coupled semi * return complete eocs * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * add docs * fix coupled test * fix * Apply suggestion from @ranocha Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
Closes #2749.