Public Member Functions | |
AmesosSolver (const ParameterList ¶ms) | |
virtual | ~AmesosSolver () |
virtual SolverState< double > | solve (const LinearOperator< double > &op, const Vector< double > &rhs, Vector< double > &soln) const |
Printable interface | |
void | print (std::ostream &os) const |
Describable interface | |
std::string | description () const |
Handleable interface | |
virtual RCP< LinearSolverBase < double > > | getRcp () |
Private Attributes | |
std::string | kernel_ |
Definition at line 25 of file PlayaAmesosSolver.hpp.
Playa::AmesosSolver::AmesosSolver | ( | const ParameterList & | params | ) |
Definition at line 27 of file PlayaAmesosSolver.cpp.
References kernel_, and Playa::LinearSolverBase< double >::parameters().
virtual Playa::AmesosSolver::~AmesosSolver | ( | ) | [inline, virtual] |
Definition at line 35 of file PlayaAmesosSolver.hpp.
std::string Playa::AmesosSolver::description | ( | ) | const [inline] |
Write a brief description
Definition at line 49 of file PlayaAmesosSolver.hpp.
References kernel_.
Referenced by print().
virtual RCP<LinearSolverBase<double> > Playa::AmesosSolver::getRcp | ( | ) | [inline, virtual] |
Return a ref count pointer to a newly created object
Implements Playa::Handleable< LinearSolverBase< double > >.
Definition at line 62 of file PlayaAmesosSolver.hpp.
void Playa::AmesosSolver::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Write to a stream
Implements Playa::Printable.
Definition at line 40 of file PlayaAmesosSolver.hpp.
References description().
SolverState< double > Playa::AmesosSolver::solve | ( | const LinearOperator< double > & | op, | |
const Vector< double > & | rhs, | |||
Vector< double > & | soln | |||
) | const [virtual] |
Implements Playa::LinearSolverBase< double >.
Definition at line 43 of file PlayaAmesosSolver.cpp.
References Playa::Vector< Scalar >::copy(), Playa::EpetraMatrix::getConcrete(), Playa::EpetraVector::getConcretePtr(), kernel_, Playa::SolveConverged, Playa::SolveCrashed, and Teuchos::toString().
std::string Playa::AmesosSolver::kernel_ [private] |
Definition at line 70 of file PlayaAmesosSolver.hpp.
Referenced by AmesosSolver(), description(), and solve().