-
Notifications
You must be signed in to change notification settings - Fork 33
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
Inexactness and some tests #376
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #376 +/- ##
==========================================
+ Coverage 73.95% 74.07% +0.12%
==========================================
Files 271 273 +2
Lines 22456 22806 +350
==========================================
+ Hits 16607 16894 +287
- Misses 5849 5912 +63
☔ View full report in Codecov by Sentry. |
Would it make sense to test this with IMEX, too? |
What exactly are you referring to? The interpolation between restarts actually is not implemented with IMEX, if I remember correctly. The extrapolation inside the collocation problem is something we can test in IMEX. We would have to add an IMEX version of the polynomial test problem. But then again, this feature is not too important. |
if type(lvl.f[0]) == imex_mesh: | ||
f = [me.impl + me.expl for me in lvl.f] | ||
f = [lvl.f[i].impl + lvl.f[i].expl if self.coeff.f[i] and lvl.f[i] else 0.0 for i in range(len(lvl.f) - 1)] |
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 guess this is what I'm referring to
This PR includes slight changes to the Newton inexactness convergence controller to make it a bit more general as well as the option for linear inexactness in Allen-Cahn and Quench.
Also, the test for the extrapolation error estimate within the collocation method is refined to be closer to a unit test than an integration test.
Efficient sweepers allow to save a few operations when computing the residual only on the last rank.