10 #ifndef THYRA_DEFAULT_INVERSE_LINEAR_OP_DECL_HPP
11 #define THYRA_DEFAULT_INVERSE_LINEAR_OP_DECL_HPP
13 #include "Thyra_InverseLinearOpBase.hpp"
14 #include "Teuchos_ConstNonconstObjectContainer.hpp"
53 template<
class Scalar>
262 void assertInitialized()
const;
284 template<
class Scalar>
299 template<
class Scalar>
314 template<
class Scalar>
327 #endif // THYRA_DEFAULT_INVERSE_LINEAR_OP_DECL_HPP
Base class for all linear operators that can support a high-level solve operation.
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
void uninitialize()
Set to uninitialized.
RCP< const LinearOpBase< Scalar > > clone() const
DefaultInverseLinearOp()
Constructs to uninitialized (see postconditions for uninitialize()).
bool opSupportedImpl(EOpTransp M_trans) const
Returns true only if all constituent operators support M_trans.
void describe(FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
basic_FancyOStream< char > FancyOStream
RCP< const VectorSpaceBase< Scalar > > range() const
Returns this->getLows()->domain() if <t>this->getLows().get()!=NULL and returns Teuchos::null otherwi...
void applyImpl(const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
Throw an exception if a solve fails to converge.
Interface for a collection of column vectors called a multi-vector.
std::string description() const
void initialize(const RCP< LinearOpWithSolveBase< Scalar > > &lows, const SolveCriteria< Scalar > *fwdSolveCriteria=NULL, const EThrowOnSolveFailure throwOnFwdSolveFailure=THROW_ON_SOLVE_FAILURE, const SolveCriteria< Scalar > *adjSolveCriteria=NULL, const EThrowOnSolveFailure throwOnAdjSolveFailure=THROW_ON_SOLVE_FAILURE)
Initialize given a non-const LinearOpWithSolveBase object and an optional .
RCP< const VectorSpaceBase< Scalar > > domain() const
Returns this->getLows()->range() if <t>this->getLows().get()!=NULL and returns Teuchos::null otherwis...
Base interface for <ttLinearOpBase objects that are implemented in terms of the solve function on a L...
EThrowOnSolveFailure
Determines what to do if inverse solve fails.
Don't throw an exception if a solve fails to converge.
Simple struct that defines the requested solution criteria for a solve.
RCP< const LinearOpWithSolveBase< Scalar > > getLows() const
Concrete LinearOpBase subclass that creates an implicit LinearOpBase object using the inverse action ...
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
RCP< LinearOpWithSolveBase< Scalar > > getNonconstLows()