This PR resolves #1196 by allowing passing of a solver statistics class, which can be a tailored version of SolverStatistics. Also resolves #1200 by swapping order of operations inside a Newton iteration.
Types of changes
What types of changes does this PR introduce to PorePy?
Put an x in the boxes that apply.
[ ] Minor change (e.g., dependency bumps, broken links).
[x] Bugfix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Testing (contribution related to testing of existing or new functionality).
[ ] Documentation (contribution related to adding, improving, or fixing documentation).
Proposed changes
This PR resolves #1196 by allowing passing of a solver statistics class, which can be a tailored version of
SolverStatistics
. Also resolves #1200 by swapping order of operations inside a Newton iteration.Types of changes
What types of changes does this PR introduce to PorePy? Put an
x
in the boxes that apply.Checklist
Put an
x
in the boxes that apply or explain briefly why the box is not relevant.pytest
was run with the--run-skipped
flag.