-
Notifications
You must be signed in to change notification settings - Fork 104
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
Increased ANKSwitchTol #218
Conversation
@@ -124,6 +124,9 @@ def test_solve(self): | |||
|
|||
|
|||
class TestFailedMesh(unittest.TestCase): | |||
|
|||
N_PROCS = 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.
Just FYI that this is already the default in testflo, but I guess this is more explicit.
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 think N_PROCS = 1
will run with MPI but with one processor. The test in the terminal has (mpi)
before the path and no other terminal output is printed. I made this change to avoid having the ADflow header printed out during the tests.
Codecov Report
@@ Coverage Diff @@
## main #218 +/- ##
=======================================
Coverage 40.62% 40.62%
=======================================
Files 13 13
Lines 3769 3769
=======================================
Hits 1531 1531
Misses 2238 2238
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
Purpose
As discussed in the maintenance meeting, I increased
ANKSwitchTol
such that we are practically guaranteed to start with ANK for all cases. A switch tolerance of 1.0 will still use the smoothers when design changes increase the residual above the reference, or even on the first call in some cases as @nwu63 found (probably due to floating point precision).Expected time until merged
1-2 days
Type of change
Testing
Checklist
flake8
andblack
to make sure the code adheres to PEP-8 and is consistently formatted