Skip to content
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

Use zero for initial guess in test-laplace-petsc3d #2248

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

johnomotani
Copy link
Contributor

Previously was using the expected solution for the initial guess, which is probably not the best test.

Previously was using the expected solution for the initial guess, which
is probably not the best test.
@johnomotani johnomotani added tests small-change Changes less than 100 lines - should be quick to review labels Mar 3, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2021

clang-tidy review says "All clean, LGTM! 👍"

@ZedThree
Copy link
Member

ZedThree commented Mar 5, 2021

Good catch! Is there a reason to keep the code setting the boundaries on guess? Rather than just have solve(rhs, 0.0)?

@bendudson
Copy link
Contributor

I think it needs to be given the correct boundary conditions, or it'll never converge to the correct solution

@ZedThree ZedThree merged commit ac1029f into next Mar 5, 2021
@ZedThree ZedThree deleted the test-laplace-petsc3d-fix-initial-guess branch March 5, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small-change Changes less than 100 lines - should be quick to review tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants