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"
16 #include "Epetra_LinearProblem.h"
17 #include "Amesos_BaseSolver.h"
49 const Teuchos::RCP<
const LinearOpSourceBase<double> > &fwdOpSrc,
52 const EOpTransp amesosSolverTransp,
53 const double amesosSolverScalar
98 const Teuchos::RCP<
const LinearOpSourceBase<double> > &fwdOpSrc,
101 const EOpTransp amesosSolverTransp,
102 const double amesosSolverScalar
135 Teuchos::RCP<
const LinearOpBase<double> > *fwdOp = NULL,
136 Teuchos::RCP<
const LinearOpSourceBase<double> > *fwdOpSrc = NULL,
139 EOpTransp *amesosSolverTransp = NULL,
140 double *amesosSolverScalar = NULL
174 const EOpTransp M_trans,
175 const MultiVectorBase<double> &X,
176 const Ptr<MultiVectorBase<double> > &Y,
188 EOpTransp M_trans,
const SolveMeasureType& solveMeasureType
192 const EOpTransp M_trans,
193 const MultiVectorBase<double> &
B,
194 const Ptr<MultiVectorBase<double> > &X,
195 const Ptr<
const SolveCriteria<double> > solveCriteria
257 #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.