10 #ifndef THYRA_AMESOS_LINEAR_OP_WITH_SOLVE_HPP
11 #define THYRA_AMESOS_LINEAR_OP_WITH_SOLVE_HPP
13 #include "Thyra_LinearOpWithSolveBase.hpp"
14 #include "Thyra_LinearOpSourceBase.hpp"
15 #include "Thyra_EpetraLinearOpBase.hpp"
16 #include "Epetra_LinearProblem.h"
53 const double amesosSolverScalar
102 const double amesosSolverScalar
140 double *amesosSolverScalar = NULL
206 double amesosSolverScalar_;
208 void assertInitialized()
const;
240 return amesosSolver_;
246 return amesosSolverTransp_;
252 return amesosSolverScalar_;
257 #endif // THYRA_AMESOS_LINEAR_OP_WITH_SOLVE_HPP
Teuchos::RCP< const LinearOpSourceBase< double > > extract_fwdOpSrc()
Extract the LinearOpSourceBase<double> object so that it can be modified.
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
virtual bool opSupportedImpl(EOpTransp M_trans) const
Teuchos::RCP< Amesos_BaseSolver > get_amesosSolver() const
std::string description() const
virtual bool solveSupportsImpl(EOpTransp M_trans) const
SolveStatus< double > solveImpl(const EOpTransp M_trans, const MultiVectorBase< double > &B, const Ptr< MultiVectorBase< double > > &X, const Ptr< const SolveCriteria< double > > solveCriteria) const
Teuchos::RCP< const VectorSpaceBase< double > > range() const
virtual bool solveSupportsSolveMeasureTypeImpl(EOpTransp M_trans, const SolveMeasureType &solveMeasureType) const
void initialize(const Teuchos::RCP< const LinearOpBase< double > > &fwdOp, const Teuchos::RCP< const LinearOpSourceBase< double > > &fwdOpSrc, const Teuchos::RCP< Epetra_LinearProblem > &epetraLP, const Teuchos::RCP< Amesos_BaseSolver > &amesosSolver, const EOpTransp amesosSolverTransp, const double amesosSolverScalar)
First initialization.
Concrete LinearOpWithSolveBase subclass that adapts any Amesos_BaseSolver object. ...
Teuchos::RCP< const LinearOpBase< double > > get_fwdOp() const
void uninitialize(Teuchos::RCP< const LinearOpBase< double > > *fwdOp=NULL, Teuchos::RCP< const LinearOpSourceBase< double > > *fwdOpSrc=NULL, Teuchos::RCP< Epetra_LinearProblem > *epetraLP=NULL, Teuchos::RCP< Amesos_BaseSolver > *amesosSolver=NULL, EOpTransp *amesosSolverTransp=NULL, double *amesosSolverScalar=NULL)
Uninitialize.
Teuchos::RCP< const LinearOpSourceBase< double > > get_fwdOpSrc() const
virtual void applyImpl(const EOpTransp M_trans, const MultiVectorBase< double > &X, const Ptr< MultiVectorBase< double > > &Y, const double alpha, const double beta) const
Teuchos::RCP< const LinearOpBase< double > > clone() const
Teuchos::RCP< Epetra_LinearProblem > get_epetraLP() const
Teuchos::RCP< const VectorSpaceBase< double > > domain() const
double get_amesosSolverScalar() const
EOpTransp get_amesosSolverTransp() const
AmesosLinearOpWithSolve()
Construct to uninitialized.