46 #ifndef BELOS_ORTHOMANAGER_HPP 47 #define BELOS_ORTHOMANAGER_HPP 65 #include "Teuchos_ScalarTraits.hpp" 66 #include "Teuchos_RCP.hpp" 67 #include "Teuchos_SerialDenseMatrix.hpp" 68 #include "Teuchos_Array.hpp" 84 template <
class ScalarType,
class MV>
107 virtual void innerProd(
const MV &X,
const MV &Y, Teuchos::SerialDenseMatrix<int,ScalarType>& Z )
const = 0;
122 virtual void norm (
const MV& X, std::vector<
typename Teuchos::ScalarTraits<ScalarType>::magnitudeType>& normvec)
const = 0;
160 Teuchos::Array<Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > > C,
161 Teuchos::ArrayView<Teuchos::RCP<const MV> > Q)
const = 0;
177 virtual int normalize ( MV &X, Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > B )
const = 0;
235 projectAndNormalize (MV &X,
236 Teuchos::Array<Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > > C,
237 Teuchos::RCP<Teuchos::SerialDenseMatrix<int,ScalarType> > B,
238 Teuchos::ArrayView<Teuchos::RCP<const MV> > Q)
const = 0;
246 virtual typename Teuchos::ScalarTraits< ScalarType >::magnitudeType
247 orthonormError(
const MV &X)
const = 0;
251 virtual typename Teuchos::ScalarTraits<ScalarType>::magnitudeType
252 orthogError(
const MV &X1,
const MV &X2)
const = 0;
262 virtual void setLabel(
const std::string& label) = 0;
266 virtual const std::string& getLabel()
const = 0;
Collection of types and exceptions used within the Belos solvers.
OrthoError(const std::string &what_arg)
Belos's templated virtual class for providing routines for orthogonalization and orthonormzalition of...
Exception thrown to signal error in an orthogonalization manager method.
BelosError(const std::string &what_arg)
virtual ~OrthoManager()
Destructor.
Parent class to all Belos exceptions.
Belos header file which uses auto-configuration information to include necessary C++ headers...