Iterative models. Now the check-if-final-time is reached is done by calling the method final_time_reached()
Progress bar: A rounding error caused visualization of the wrong final time step number. This is fixed by using np.round(), which rounds e.g. the time 199.999999 to 200 instead of rounding down to 199, as the int()-functionality did before.
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).
[ ] 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
Inconsistency in time step numbers in:
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.