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

Fix inconsistent behavior of scalar Jacobi between reference and the others #1642

Merged
merged 3 commits into from
Jul 6, 2024

Conversation

yhmtsai
Copy link
Member

@yhmtsai yhmtsai commented Jul 4, 2024

We have the workaround for zero diagonal value in scalar Jacobi, but reference uses 1 but the others uses zero.
I currently make it be 1.
Note. it is not the proper inverse Jacobi matrix.

first commit adds the test and the second one fixes the issue.

@yhmtsai yhmtsai added 1:ST:ready-for-review This PR is ready for review is:bugfix This fixes a bug labels Jul 4, 2024
@yhmtsai yhmtsai requested a review from a team July 4, 2024 12:30
@yhmtsai yhmtsai self-assigned this Jul 4, 2024
@ginkgo-bot ginkgo-bot added reg:testing This is related to testing. mod:reference This is related to the reference module. type:preconditioner This is related to the preconditioners mod:dpcpp This is related to the DPC++ module. labels Jul 4, 2024
@upsj
Copy link
Member

upsj commented Jul 4, 2024

@yhmtsai the second commit seems to be missing

@yhmtsai
Copy link
Member Author

yhmtsai commented Jul 4, 2024

@upsj Yes and sorry. I would like to wait for that some jobs of the first commit fail first

@yhmtsai yhmtsai force-pushed the fix_inconsistent_jacobi branch from 5176f5b to 7cf1b31 Compare July 6, 2024 07:17
@yhmtsai yhmtsai added 1:ST:ready-to-merge This PR is ready to merge. and removed 1:ST:ready-for-review This PR is ready for review labels Jul 6, 2024
Copy link

sonarqubecloud bot commented Jul 6, 2024

Copy link

codecov bot commented Jul 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.60%. Comparing base (b9a8c6a) to head (7cf1b31).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1642   +/-   ##
========================================
  Coverage    91.60%   91.60%           
========================================
  Files          761      761           
  Lines        61181    61199   +18     
========================================
+ Hits         56045    56064   +19     
+ Misses        5136     5135    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yhmtsai yhmtsai merged commit 61bbba8 into develop Jul 6, 2024
17 checks passed
@yhmtsai yhmtsai deleted the fix_inconsistent_jacobi branch July 6, 2024 21:11
MarcelKoch pushed a commit to MarcelKoch/ginkgo that referenced this pull request Dec 2, 2024
This PR fixes inconsistent behavior of scalar Jacobi between reference and the others

Related PR: ginkgo-project#1642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:ready-to-merge This PR is ready to merge. is:bugfix This fixes a bug mod:dpcpp This is related to the DPC++ module. mod:reference This is related to the reference module. reg:testing This is related to testing. type:preconditioner This is related to the preconditioners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants