SimVascular / svFSIplus

This repository contains a line-by-line conversion of the Fortran svFSI solver to C++.
Other
6 stars 19 forks source link

Terminate simulation if max number of Newton iterations is reached by default #192

Open mrp089 opened 3 months ago

mrp089 commented 3 months ago

Problem

We currently continue a simulation without an error or warning when the maximum number of Newton iterations is reached. This might wrongly indicate to the user that a time step has converged.

Solution

By default, terminate the solution with an error if running into the maximum number of Newton iterations. Let the user define a flag to continue but still throw a warning every time this happens.

Additional context

No response

Code of Conduct