Re: [deal.II] catching SolverControl::NoConvergence

2020-08-03 Thread Wolfgang Bangerth
On 7/31/20 3:44 AM, Alberto Salvadori wrote: By the way, I noticed that there is no Trilinos wrapper for GMRES, yet the implementation of LA::MPI::SolverGMRES provides no error when the trilinos flag is set. Is there any redirection to another solver? Is this a potential source of the

Re: [deal.II] catching SolverControl::NoConvergence

2020-07-31 Thread Alberto Salvadori
Wolfgang, I am going to provide the small test case as soon as I can make it. In the meanwhile, it turned out that *catch* ( *const* std::exception ) rather than SolverControl::NoConvergence works fine. By the way, I noticed that there is no Trilinos wrapper for GMRES, yet the

Re: [deal.II] catching SolverControl::NoConvergence

2020-07-29 Thread Wolfgang Bangerth
On 7/29/20 5:37 AM, Alberto Salvadori wrote: try { iterate_on_tolerance = false ; this->pcout << " AMG - Bicgstab " << std::flush ; bicgstab.solve (this->system_matrix, distributed_incremental_displacement, this->system_rhs, preconditioner); solver_control_last_step =