Class that wraps a PreconditionerBase
object it makes it behave like a linear operator.
More...
#include <Teko_PreconditionerLinearOpDecl.hpp>
Inherits LinearOpBase< ScalarT >.
Public Member Functions | |
void | initialize (const Teuchos::RCP< Thyra::PreconditionerBase< ScalarT > > &prec) |
build a linear operator using this preconditioner, this initialization permits changes More... | |
void | initialize (const Teuchos::RCP< const Thyra::PreconditionerBase< ScalarT > > &prec) |
build a linear operator using this preconditioner, this initialization refuses changes More... | |
void | uninitialize () |
Disassociate this object with the currently owned preconditioner. More... | |
virtual Teuchos::RCP< const Thyra::VectorSpaceBase < ScalarT > > | range () const |
Range space of this operator. More... | |
virtual Teuchos::RCP< const Thyra::VectorSpaceBase < ScalarT > > | domain () const |
Domain space of this operator. More... | |
virtual void | applyImpl (const Thyra::EOpTransp M_trans, const Thyra::MultiVectorBase< ScalarT > &x, const Teuchos::Ptr< Thyra::MultiVectorBase< ScalarT > > &y, const ScalarT alpha, const ScalarT beta) const |
Apply operation. More... | |
virtual Teuchos::RCP < Thyra::PreconditionerBase < ScalarT > > | getNonconstPreconditioner () |
Get a nonconstant PreconditionerBase object. More... | |
virtual Teuchos::RCP< const Thyra::PreconditionerBase < ScalarT > > | getPreconditioner () const |
Get a constant PreconditionerBase object. More... | |
Teko::LinearOp | getOperator () const |
Get teko linear operator. More... | |
Protected Member Functions | |
Teuchos::ConstNonconstObjectContainer < Thyra::LinearOpBase< ScalarT > > | getOperator_cnoc () const |
get operator associated with the preconditioner More... | |
Teuchos::ConstNonconstObjectContainer < Thyra::LinearOpBase< ScalarT > > | getOperator_cnoc () |
get operator associated with the preconditioner More... | |
Class that wraps a PreconditionerBase
object it makes it behave like a linear operator.
Class that wraps a PreconditionerBase
object it makes it behave like a linear operator. Note that this is useful because it stores the neccessary state information for reconstructing a preconditioner.
Definition at line 66 of file Teko_PreconditionerLinearOpDecl.hpp.
void Teko::PreconditionerLinearOp< ScalarT >::initialize | ( | const Teuchos::RCP< Thyra::PreconditionerBase< ScalarT > > & | prec | ) |
build a linear operator using this preconditioner, this initialization permits changes
Definition at line 75 of file Teko_PreconditionerLinearOp.hpp.
void Teko::PreconditionerLinearOp< ScalarT >::initialize | ( | const Teuchos::RCP< const Thyra::PreconditionerBase< ScalarT > > & | prec | ) |
build a linear operator using this preconditioner, this initialization refuses changes
Definition at line 83 of file Teko_PreconditionerLinearOp.hpp.
void Teko::PreconditionerLinearOp< ScalarT >::uninitialize | ( | ) |
Disassociate this object with the currently owned preconditioner.
Definition at line 91 of file Teko_PreconditionerLinearOp.hpp.
|
virtual |
Range space of this operator.
Definition at line 98 of file Teko_PreconditionerLinearOp.hpp.
|
virtual |
Domain space of this operator.
Definition at line 105 of file Teko_PreconditionerLinearOp.hpp.
|
virtual |
Apply operation.
Definition at line 118 of file Teko_PreconditionerLinearOp.hpp.
|
virtual |
Get a nonconstant PreconditionerBase
object.
Definition at line 132 of file Teko_PreconditionerLinearOp.hpp.
|
virtual |
Get a constant PreconditionerBase
object.
Definition at line 139 of file Teko_PreconditionerLinearOp.hpp.
|
inline |
Get teko linear operator.
Definition at line 105 of file Teko_PreconditionerLinearOpDecl.hpp.
|
protected |
get operator associated with the preconditioner
Definition at line 146 of file Teko_PreconditionerLinearOp.hpp.
|
protected |
get operator associated with the preconditioner
Definition at line 156 of file Teko_PreconditionerLinearOp.hpp.