Belos  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Belos_Details_registerSolverFactory.cpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Belos: Block Linear Solvers Package
4 //
5 // Copyright 2004-2016 NTESS and the Belos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
12 
13 #include "BelosMultiVec.hpp"
14 #include "BelosOperator.hpp"
15 #include "BelosSolverFactory.hpp"
16 
17 #include "BelosBiCGStabSolMgr.hpp"
18 #include "BelosBlockCGSolMgr.hpp"
21 #include "BelosGCRODRSolMgr.hpp"
22 #include "BelosGmresPolySolMgr.hpp"
23 #include "BelosLSQRSolMgr.hpp"
24 #include "BelosMinresSolMgr.hpp"
25 #include "BelosPCPGSolMgr.hpp"
29 #include "BelosRCGSolMgr.hpp"
30 #include "BelosTFQMRSolMgr.hpp"
31 
32 namespace Belos {
33 namespace Details {
34 
35 #ifdef HAVE_TEUCHOS_COMPLEX
36 #define BELOS_DEFINE_REGISTER_SOLVER_MANAGER(manager,name) \
37  Impl::registerSolverSubclassForTypes<manager<fST,fMV,fOP>, fST, fMV, fOP> (name); \
38  Impl::registerSolverSubclassForTypes<manager<dST,dMV,dOP>, dST, dMV, dOP> (name); \
39  Impl::registerSolverSubclassForTypes<manager<cST,cMV,cOP>, cST, cMV, cOP> (name); \
40  Impl::registerSolverSubclassForTypes<manager<cfST,cfMV,cfOP>, cfST, cfMV, cfOP> (name);
41 #else // HAVE_TEUCHOS_COMPLEX
42 #define BELOS_DEFINE_REGISTER_SOLVER_MANAGER(manager,name) \
43  Impl::registerSolverSubclassForTypes<manager<fST,fMV,fOP>, fST, fMV, fOP> (name); \
44  Impl::registerSolverSubclassForTypes<manager<dST,dMV,dOP>, dST, dMV, dOP> (name);
45 #endif // HAVE_TEUCHOS_COMPLEX
46 
48  typedef double dST;
49  typedef MultiVec<dST> dMV;
50  typedef Operator<dST> dOP;
51 
52  typedef float fST;
53  typedef MultiVec<fST> fMV;
54  typedef Operator<fST> fOP;
55 
56 #ifdef HAVE_TEUCHOS_COMPLEX
57  typedef std::complex<double> cST;
58  typedef MultiVec<cST> cMV;
59  typedef Operator<cST> cOP;
60 
61  typedef std::complex<float> cfST;
62  typedef MultiVec<cfST> cfMV;
63  typedef Operator<cfST> cfOP;
64 #endif // HAVE_TEUCHOS_COMPLEX
65 
80 }
81 
82 } // namespace Details
83 } // namespace Belos
84 
Solver manager for the MINRES linear solver.
The Belos::FixedPointSolMgr provides a powerful and fully-featured solver manager over the FixedPoint...
The Belos::PseudoBlockCGSolMgr provides a solver manager for the BlockCG linear solver.
The Belos::PseudoBlockTFQMRSolMgr provides a solver manager for the pseudo-block TFQMR linear solver...
Implementation of the RCG (Recycling Conjugate Gradient) iterative linear solver. ...
The Belos::BlockCGSolMgr provides a powerful and fully-featured solver manager over the CG and BlockC...
The Belos::FixedPointSolMgr provides a solver manager for the FixedPoint linear solver.
Declaration and definition of Belos::PCPGSolMgr (PCPG iterative linear solver).
Interface to Block GMRES and Flexible GMRES.
The Belos::PseudoBlockCGSolMgr provides a powerful and fully-featured solver manager over the pseudo-...
Declaration and definition of Belos::GCRODRSolMgr, which implements the GCRODR (recycling GMRES) solv...
Alternative run-time polymorphic interface for operators.
The Belos::BlockGmresSolMgr provides a solver manager for the BlockGmres linear solver.
MINRES linear solver solution manager.
Declaration and definition of Belos::GmresPolySolMgr (hybrid block GMRES linear solver).
The Belos::BiCGStabSolMgr provides a solver manager for the BiCGStab linear solver.
Implementation of the GCRODR (Recycling GMRES) iterative linear solver.
The Belos::PseudoBlockTFQMRSolMgr provides a powerful and fully-featured solver manager over the pseu...
Interface to standard and &quot;pseudoblock&quot; GMRES.
The GMRES polynomial can be created in conjunction with any standard preconditioner.
The Belos::TFQMRSolMgr provides a powerful and fully-featured solver manager over the TFQMR linear so...
The Belos::BlockCGSolMgr provides a solver manager for the BlockCG linear solver. ...
LSQRSolMgr: interface to the LSQR method.
#define BELOS_DEFINE_REGISTER_SOLVER_MANAGER(manager, name)
The Belos::BiCGStabSolMgr provides a powerful and fully-featured solver manager over the pseudo-block...
Alternative run-time polymorphic interface for operators.
PCPG iterative linear solver.
Interface for multivectors used by Belos&#39; linear solvers.
LSQR method (for linear systems and linear least-squares problems).
The Belos::RCGSolMgr provides a solver manager for the RCG (Recycling Conjugate Gradient) linear solv...
The Belos::PseudoBlockGmresSolMgr provides a solver manager for the BlockGmres linear solver...
The Belos::TFQMRSolMgr provides a solver manager for the TFQMR linear solver.
Interface for multivectors used by Belos&#39; linear solvers.

Generated on Mon Jul 15 2024 09:24:23 for Belos by doxygen 1.8.5