```
bool convergence_status = [solver instance].slove(b, x);
if(!convergence_status)
{
   [solver instance].quit(); // member name may also be Finalize.
   exit();
}
```