Public Member Functions | Private Attributes
TSFExtended::BelosSolver Class Reference
Inheritance diagram for TSFExtended::BelosSolver:
TSFExtended::LinearSolverBase< double > Sundance::Handleable< LinearSolverBase< double > > Sundance::Printable Sundance::DefaultObjectWithVerbosity Sundance::NamedObject Sundance::ObjectWithVerbosityBase

List of all members.

Public Member Functions

 BelosSolver (const Teuchos::ParameterList &params)
virtual ~BelosSolver ()
void setUserPrec (const PreconditionerFactory< double > &pf)
 Set the preconditioning operator.
virtual SolverState< double > solve (const LinearOperator< double > &op, const Vector< double > &rhs, Vector< double > &soln) const
Printable interface
void print (std::ostream &os) const
 Write to a stream.
Describable interface
std::string description () const
 Write a brief description.
Handleable interface
virtual RCP< LinearSolverBase
< double > > 
getRcp ()
 Return a ref count pointer to a newly created object.

Private Attributes

PreconditionerFactory< double > pf_

Detailed Description

Definition at line 50 of file TSFBelosSolver.hpp.


Constructor & Destructor Documentation

BelosSolver::BelosSolver ( const Teuchos::ParameterList &  params)

Definition at line 22 of file TSFBelosSolver.cpp.

References pf_, and Sundance::NamedObject::setName().

virtual TSFExtended::BelosSolver::~BelosSolver ( ) [inline, virtual]

Definition at line 60 of file TSFBelosSolver.hpp.


Member Function Documentation

std::string TSFExtended::BelosSolver::description ( ) const [inline]

Write a brief description.

Definition at line 77 of file TSFBelosSolver.hpp.

Referenced by print().

virtual RCP<LinearSolverBase<double> > TSFExtended::BelosSolver::getRcp ( ) [inline, virtual]

Return a ref count pointer to a newly created object.

Implements Sundance::Handleable< LinearSolverBase< double > >.

Definition at line 90 of file TSFBelosSolver.hpp.

void TSFExtended::BelosSolver::print ( std::ostream &  os) const [inline, virtual]

Write to a stream.

Implements Sundance::Printable.

Definition at line 68 of file TSFBelosSolver.hpp.

References description().

void TSFExtended::BelosSolver::setUserPrec ( const PreconditionerFactory< double > &  pf) [inline, virtual]

Set the preconditioning operator.

Reimplemented from TSFExtended::LinearSolverBase< double >.

Definition at line 63 of file TSFBelosSolver.hpp.

References pf_.

SolverState< double > BelosSolver::solve ( const LinearOperator< double > &  op,
const Vector< double > &  rhs,
Vector< double > &  soln 
) const [virtual]

Member Data Documentation

Definition at line 100 of file TSFBelosSolver.hpp.

Referenced by BelosSolver(), setUserPrec(), and solve().

Site Contact