44 #ifndef THYRA_AMESOS_LINEAR_OP_WITH_SOLVE_HPP
45 #define THYRA_AMESOS_LINEAR_OP_WITH_SOLVE_HPP
47 #include "Thyra_LinearOpWithSolveBase.hpp"
48 #include "Thyra_LinearOpSourceBase.hpp"
50 #include "Epetra_LinearProblem.h"
51 #include "Amesos_BaseSolver.h"
83 const Teuchos::RCP<
const LinearOpSourceBase<double> > &fwdOpSrc,
86 const EOpTransp amesosSolverTransp,
87 const double amesosSolverScalar
132 const Teuchos::RCP<
const LinearOpSourceBase<double> > &fwdOpSrc,
135 const EOpTransp amesosSolverTransp,
136 const double amesosSolverScalar
169 Teuchos::RCP<
const LinearOpBase<double> > *fwdOp = NULL,
170 Teuchos::RCP<
const LinearOpSourceBase<double> > *fwdOpSrc = NULL,
173 EOpTransp *amesosSolverTransp = NULL,
174 double *amesosSolverScalar = NULL
208 const EOpTransp M_trans,
209 const MultiVectorBase<double> &X,
210 const Ptr<MultiVectorBase<double> > &Y,
222 EOpTransp M_trans,
const SolveMeasureType& solveMeasureType
226 const EOpTransp M_trans,
227 const MultiVectorBase<double> &
B,
228 const Ptr<MultiVectorBase<double> > &X,
229 const Ptr<
const SolveCriteria<double> > solveCriteria
291 #endif // THYRA_AMESOS_LINEAR_OP_WITH_SOLVE_HPP
Teuchos::RCP< Epetra_LinearProblem > epetraLP_
Teuchos::RCP< const LinearOpSourceBase< double > > extract_fwdOpSrc()
Extract the LinearOpSourceBase<double> object so that it can be modified.
Teuchos::RCP< Amesos_BaseSolver > amesosSolver_
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
virtual bool opSupportedImpl(EOpTransp M_trans) const
void assertInitialized() const
Teuchos::RCP< Amesos_BaseSolver > get_amesosSolver() const
std::string description() const
EOpTransp amesosSolverTransp_
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
Teuchos::RCP< const LinearOpSourceBase< double > > fwdOpSrc_
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
double amesosSolverScalar_
Teuchos::RCP< const LinearOpBase< double > > fwdOp_
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.