Thyra Version of the Day
Loading...
Searching...
No Matches
Thyra::InverseLinearOpBase< Scalar > Class Template Referenceabstract

Base interface for <ttLinearOpBase objects that are implemented in terms of the solve function on a LinearOpWithSolveBase object. More...

#include <Thyra_InverseLinearOpBase.hpp>

Inheritance diagram for Thyra::InverseLinearOpBase< Scalar >:

Public Member Functions

virtual bool isLowsConst () const =0
 Determine if the underlying LinearOpWithSolveBase is const-only or not.
virtual Teuchos::RCP< LinearOpWithSolveBase< Scalar > > getNonconstLows ()=0
 Extra a non-const view of the underlying LinearOpWithSolveBase object.
virtual Teuchos::RCP< const LinearOpWithSolveBase< Scalar > > getLows () const =0
 Extra a const view of the underlying LinearOpWithSolveBase object.
virtual RCP< const VectorSpaceBase< Scalar > > range () const =0
 Return a smart pointer for the range space for this operator.
virtual RCP< const VectorSpaceBase< Scalar > > domain () const =0
 Return a smart pointer for the domain space for this operator.
bool opSupported (EOpTransp M_trans) const
 Return if the M_trans operation of apply() is supported or not.
void apply (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 Apply the linear operator to a multi-vector : Y = alpha*op(M)*X + beta*Y.
virtual RCP< const LinearOpBase< Scalar > > clone () const
 Clone the linear operator object (if supported).

Additional Inherited Members

virtual bool opSupportedImpl (EOpTransp M_trans) const =0
 Override in subclass.
virtual void applyImpl (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const =0
 Override in subclass.

Detailed Description

template<class Scalar>
class Thyra::InverseLinearOpBase< Scalar >

Base interface for <ttLinearOpBase objects that are implemented in terms of the solve function on a LinearOpWithSolveBase object.

Definition at line 25 of file Thyra_InverseLinearOpBase.hpp.

Member Function Documentation

◆ isLowsConst()

template<class Scalar>
virtual bool Thyra::InverseLinearOpBase< Scalar >::isLowsConst ( ) const
pure virtual

Determine if the underlying LinearOpWithSolveBase is const-only or not.

Implemented in Thyra::DefaultInverseLinearOp< Scalar >.

◆ getNonconstLows()

template<class Scalar>
virtual Teuchos::RCP< LinearOpWithSolveBase< Scalar > > Thyra::InverseLinearOpBase< Scalar >::getNonconstLows ( )
pure virtual

Extra a non-const view of the underlying LinearOpWithSolveBase object.

Implemented in Thyra::DefaultInverseLinearOp< Scalar >.

◆ getLows()

template<class Scalar>
virtual Teuchos::RCP< const LinearOpWithSolveBase< Scalar > > Thyra::InverseLinearOpBase< Scalar >::getLows ( ) const
pure virtual

Extra a const view of the underlying LinearOpWithSolveBase object.

Implemented in Thyra::DefaultInverseLinearOp< Scalar >.


The documentation for this class was generated from the following file: