Skip to content

printing the solver residual values #4313

Answered by martinjrobins
Thiyaga2025 asked this question in Q&A
Discussion options

You must be logged in to vote

no, there isn't an option like this. When are you interested in the residual values? Generally the residual values are calculated in the C code of the solver and wouldn't be accessible unless you felt like editing this code. However, if you are interested in the residual values at the output timesteps, then you can probably calculate these from python using the information stored in the pybamm.Solution class

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Thiyaga2025
Comment options

Answer selected by Thiyaga2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants