Belos Package Browser (Single Doxygen Collection) Development
Classes | Namespaces
BelosMultiVec.hpp File Reference

Interface for multivectors used by Belos' linear solvers. More...

#include "BelosMultiVecTraits.hpp"
#include "BelosTypes.hpp"
#include "BelosConfigDefs.hpp"
Include dependency graph for BelosMultiVec.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Belos::MultiVec< ScalarType >
 Interface for multivectors used by Belos' linear solvers. More...
class  Belos::details::MultiVecTsqrAdapter< ScalarType >
 TSQR adapter for MultiVec. More...
class  Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >
 Specialization of MultiVecTraits for Belos::MultiVec. More...

Namespaces

namespace  Belos
namespace  Belos::details

Detailed Description

Interface for multivectors used by Belos' linear solvers.

We provide two options for letting Belos' linear solvers use arbitrary multivector types. One is via compile-time polymorphism, by specializing Belos::MultiVecTraits. The other is via run-time polymorphism, by implementing Belos::MultiVec (the interface defined in this header file). Belos ultimately only uses Belos::MultiVecTraits (it uses Belos::MultiVec via a specialization of Belos::MultiVecTraits for Belos::MultiVec), so the preferred way to tell Belos how to use your multivector class is via a Belos::MultiVecTraits specialization. However, some users find a run-time polymorphic interface useful, so we provide it as a service to them.

Definition in file BelosMultiVec.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines