-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix Ubuntu-System-CI #357
Fix Ubuntu-System-CI #357
Conversation
Change number of diffusion iterations, boundary sizes and resolution of EulerDirichletBoundaries. Changed number of diffusion iterations for EulerNeumannZeroBoundaries. Changed number of diffusion iterations for EulerNeumannNonZeroBoundaries.
Hey @ryan-bournes , I saw you assigned me and @nicogno as reviewers. The PR is supposed to fix the Ubuntu System CI, however, it still fails. Please take a look at the log. You'll probably have to add to |
Adding suppression to fix memory leak during ubuntu 20.04 unit tests.
Ping us when you're ready here @ryan-bournes . |
Hi @TobiasDuswald , the changes seem to have passed the ubuntu checks but has failed the macOS and Centos checks, will this be an issue? |
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.
Thanks @ryan-bournes . Can you double check that the one unit test still does what it is supposed to do (see review comment). Issues on CentOS / macOS can be ignored for now (except if they result from the unit test changes of course).
@@ -1045,7 +1045,7 @@ TEST(DiffusionTest, EulerNeumannZeroBoundaries) { | |||
rm->AddContinuum(dgrid); | |||
|
|||
// Simulate diffusion / exponential decay for `tot` timesteps | |||
int tot = 10000; | |||
int tot = 1000; |
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.
Have you checked if the concentration still reaches the boundary @ryan-bournes ? This test is supposed to verify that nothing escapes with homogeneous Neumann conditions, the test is only meaningful if the concentration reaches the boundaries. Possibly a good idea to lower int tot
but add a source close to each of the six boundaries.
@nicogno if you found time to check this PR that would be great, it affects the unit tests you designed in the scope of the boundary conditions :) |
Reduced simulation size and moved sources to edges of simulation space.
@TobiasDuswald I expect this test to pass regardless but I have modified it so the sources are right next to the boundaries. |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Hi @ryan-bournes, I agree with @TobiasDuswald on the comments about the changes! Everything looks good to me, as long as you double check that the concentration reaches the boundaries in the Neumann Zero Boundaries test |
It looks like they're affected by some missing dependency. |
yes, none of the concerns for this PR. See also development branch related to #356 . |
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.
Looks good to me, thanks @ryan-bournes ! 🚀
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.
Looks good to me! Thank you @ryan-bournes
Change number of diffusion iterations, boundary sizes and resolution of EulerDirichletBoundaries.
Changed number of diffusion iterations for EulerNeumannZeroBoundaries.
Changed number of diffusion iterations for EulerNeumannNonZeroBoundaries.