Skip to content

Avoid recomputing residual norms for MG early exit#2786

Open
pcarruscag wants to merge 12 commits intodevelopfrom
pedro/use_available_residual
Open

Avoid recomputing residual norms for MG early exit#2786
pcarruscag wants to merge 12 commits intodevelopfrom
pedro/use_available_residual

Conversation

@pcarruscag
Copy link
Copy Markdown
Member

@pcarruscag pcarruscag commented Apr 12, 2026

I think the norm should include the MG part of the residual, because it is the sum of the 2 that the solver is trying to converge.

@pcarruscag pcarruscag changed the title Test Avoid recomputing residual norms for MG early exit Apr 13, 2026
@pcarruscag pcarruscag requested a review from bigfooted April 13, 2026 04:46
Comment thread SU2_CFD/src/solvers/CSolver.cpp
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp
Comment thread TestCases/parallel_regression.py Outdated
Comment thread TestCases/parallel_regression.py Outdated
Comment thread TestCases/hybrid_regression.py Outdated
fix inf

Co-authored-by: Nijso <nijso@hotmail.com>
Comment thread TestCases/parallel_regression.py Outdated
Comment thread TestCases/hybrid_regression.py Outdated
@bigfooted
Copy link
Copy Markdown
Contributor

A couple of testcases have very large differences in residuals, and one case is diverging. I will have to check these in more detail to see if they need different settings and produce reasonable results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants