Hi Praveen,

sure, you can do something like

try
{
solve();
}
catch(...)
{
do something here
}

Does this help?
Bärbel

--
Bärbel Janssen
Institut für Angewandte Mathematik
Universität Heidelberg

Im Neuenheimer Feld 293, Raum 213
Telefon: +49 6221 54-5449


On Mon, 18 Jul 2011, Praveen C wrote:

Hello

I am using SolverGMRES for a non-linear problem. In the SolverControl, I set 
max iterations and some tolerance. If the residual does not go below the 
tolerance within max iterations, the code is aborting.
Is it possible to prevent aborting so that I can take some action on my own ?

Thanks
praveen

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to