-
Notifications
You must be signed in to change notification settings - Fork 10
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
Lanczos tests #136
Lanczos tests #136
Conversation
Codecov Report
@@ Coverage Diff @@
## master #136 +/- ##
==========================================
+ Coverage 87.04% 87.79% +0.75%
==========================================
Files 53 53
Lines 2153 2171 +18
==========================================
+ Hits 1874 1906 +32
+ Misses 279 265 -14
Continue to review full report at Codecov.
|
The tests finally pass. |
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.
Make sure you add a reference to DSTEV before you merge.
@@ -334,6 +340,6 @@ BOOST_AUTO_TEST_CASE(weight_sum, *utf::tolerance(1e-4)) | |||
e[i] = 1.; | |||
e.compress(::dealii::VectorOperation::insert); | |||
restrictor_matrix.vmult(ee, e); | |||
BOOST_TEST(ee.l1_norm() == 1.); | |||
BOOST_TEST(ee.l1_norm() == 1., tt::tolerance(2e-4)); |
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.
So you relaxed the tolerance (x2)? I missed that change. Is that how you got the tests to pass?
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.
c.c. @Rombur who knows the restriction matrix tests better than I do. Is that OK?
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 relaxed the tolerance for restriction test, yes. The tolerances that I was getting from the test when running with Lanczos were around 1.1e-4.
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.
Marking it as "resolved". I just want to make sure that Bruno sees that. You don't need to wait for his feedback to merge.
An alternative version of #132. We don't introduce a new stopping criteria, and instead just loosen tolerance for the hierarchy tests.
Fix #115.