Belos Package Browser (Single Doxygen Collection) Development
Interface for multivectors used by Belos' linear solvers. More...
|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...|
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.