Thyra
Version of the Day
|
Simple interface class to access a precreated preconditioner as one or more linear operators objects and information on how they are meant to be applied. More...
#include <Thyra_PreconditionerBase.hpp>
Pure virtual public functions that must be overridden in subclasses | |
virtual bool | isLeftPrecOpConst () const =0 |
Return if the underlying left preconditioner operator is const-only or allows non-const access. More... | |
virtual Teuchos::RCP < LinearOpBase< Scalar > > | getNonconstLeftPrecOp ()=0 |
Return a non-const left preconditioner linear operator if one is designed or targeted to be applied on the left. More... | |
virtual Teuchos::RCP< const LinearOpBase< Scalar > > | getLeftPrecOp () const =0 |
Return a const left preconditioner linear operator if one is designed or targeted to be applied on the left. More... | |
virtual bool | isRightPrecOpConst () const =0 |
Return if the underlying right preconditioner operator is const-only or allows non-const access. More... | |
virtual Teuchos::RCP < LinearOpBase< Scalar > > | getNonconstRightPrecOp ()=0 |
Return a non-const right preconditioner linear operator if one is designed or targeted to be applied on the right. More... | |
virtual Teuchos::RCP< const LinearOpBase< Scalar > > | getRightPrecOp () const =0 |
Return a const right preconditioner linear operator if one is designed or targeted to be applied on the right. More... | |
virtual bool | isUnspecifiedPrecOpConst () const =0 |
Return if the underlying unspecified preconditioner operator is const-only or allows non-const access. More... | |
virtual Teuchos::RCP < LinearOpBase< Scalar > > | getNonconstUnspecifiedPrecOp ()=0 |
Return a non-const generic preconditioner linear operator that is not designed or targeted to be applied on the left or on the right. More... | |
virtual Teuchos::RCP< const LinearOpBase< Scalar > > | getUnspecifiedPrecOp () const =0 |
Return a const generic preconditioner linear operator that is not designed or targeted to be applied on the left or on the right. More... | |
Simple interface class to access a precreated preconditioner as one or more linear operators objects and information on how they are meant to be applied.
This class supports four different kinds of preconditioners:
getLeftPrecOp().get()!=NULL
getRightPrecOp().get()==NULL
getUnspecifiedPrecOp().get()==NULL
getLeftPrecOp().get()==NULL
getRightPrecOp().get()!=NULL
getUnspecifiedPrecOp().get()==NULL
getLeftPrecOp().get()!=NULL
getRightPrecOp().get()!=NULL
getUnspecifiedPrecOp().get()==NULL
getLeftPrecOp().get()==NULL
getRightPrecOp().get()==NULL
getUnspecifiedPrecOp().get()!=NULL
Definition at line 21 of file Thyra_OperatorSolveTypes.hpp.
|
pure virtual |
Return if the underlying left preconditioner operator is const-only or allows non-const access.
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return a non-const left preconditioner linear operator if one is designed or targeted to be applied on the left.
Preconditions:
isLeftPrecOpConst()==true
] getLeftPrecOp().get()==NULL
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return a const left preconditioner linear operator if one is designed or targeted to be applied on the left.
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return if the underlying right preconditioner operator is const-only or allows non-const access.
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return a non-const right preconditioner linear operator if one is designed or targeted to be applied on the right.
Preconditions:
isRightPrecOpConst()==true
] getRightPrecOp().get()==NULL
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return a const right preconditioner linear operator if one is designed or targeted to be applied on the right.
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return if the underlying unspecified preconditioner operator is const-only or allows non-const access.
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return a non-const generic preconditioner linear operator that is not designed or targeted to be applied on the left or on the right.
Implemented in Thyra::DefaultPreconditioner< Scalar >.
|
pure virtual |
Return a const generic preconditioner linear operator that is not designed or targeted to be applied on the left or on the right.
Preconditions:
isUnspecifiedPrecOpConst()==true
] getUnspecifiedPrecOp().get()==NULL
Implemented in Thyra::DefaultPreconditioner< Scalar >.