[Trilinos-Users] [EXTERNAL] customizing Belos residual tests

Thornquist, Heidi K hkthorn at sandia.gov
Tue Jun 12 10:08:26 MDT 2012

Hi Jonas,

Unfortunately, the specifiable convergence criteria for this solver will not give you the flexibility to create this residual test.  Furthermore, we do not include, in our standard convergence criteria, tests that include the norm of the solution vector.  So this would require the development of a specialized convergence test, which would not be too difficult for CG, since the solution vector is available.  The easiest change would be for this solver to implement the virtual setUserConvStatusTest() function from the base Belos::SolverManager class.  Then you can create this specialized convergence test and pass it in to this solver.  I can enable that functionality for this solver, if that would help.

From: trilinos-users-bounces at software.sandia.gov [trilinos-users-bounces at software.sandia.gov] on behalf of Jonas Thies [jonas at math.uu.se]
Sent: Tuesday, June 12, 2012 7:54 AM
Cc: trilinos-users at software.sandia.gov
Subject: [EXTERNAL] [Trilinos-Users] customizing Belos residual tests

Hi all,

I would like to compare the convergence and performance of
Belos to some native solvers in an application.
To do that I would like to use the BlockCGSolMgr and a convergence criterion

||A*x-b||_2 / (||A||_F ||x||_2 + ||b||_2) < tol

Is that possible without hacking in the Belos source itself?


Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov

More information about the Trilinos-Users mailing list