Skip to content

Return success flag from GSI solver #313

Description

@mgoodson-cvd

It would be helpful to know whether or not the GSI surface balance solver converged in the specified number of iterations. This should be possible by returning a bool from solveSurfaceBalance, which currently is void.

As part of this, I would return a bool from the Newton solver's solve routine; it currently returns x, which is also an input and is already passed by non-const reference, so something like mv_X = solve(mv_X); here is redundant and a little wasteful.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions