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

Add a routine to get the final residual from a linear solver #4025

Draft
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

GiudGiud
Copy link
Contributor

@GiudGiud GiudGiud commented Nov 28, 2024

It would be useful for some linear solves where we currently output the initial and never iterate the solve so it just looks unconverged

EDIT: on hold, probably can do without

@GiudGiud GiudGiud marked this pull request as draft November 28, 2024 18:36
@roystgnr
Copy link
Member

We return the final residual from solve(), right? And then LinearImplicitSystem saves it for use in final_linear_residual(). I don't know if we have any way to get it from a nonlinear system or solver, but that's in part because it doesn't a priori make sense for a nonlinear solver, which may operate through some means other than repeated linearization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants