15 #ifndef __Teko_LU2x2InverseOp_hpp__
16 #define __Teko_LU2x2InverseOp_hpp__
19 #include "Teko_BlockImplicitLinearOp.hpp"
77 LU2x2InverseOp(
const BlockedLinearOp &A,
const LinearOp &invA00,
const LinearOp &invS);
90 LU2x2InverseOp(
const BlockedLinearOp &A,
const LinearOp &hatInvA00,
const LinearOp &tildeInvA00,
91 const LinearOp &invS);
114 virtual void implicitApply(
const BlockedMultiVector &x, BlockedMultiVector &y,
115 const double alpha = 1.0,
const double beta = 0.0)
const;
118 virtual void describe(Teuchos::FancyOStream &out_arg,
119 const Teuchos::EVerbosityLevel verbLevel)
const;
125 const BlockedLinearOp
A_;
134 Teuchos::RCP<const Thyra::ProductVectorSpaceBase<double> >
136 Teuchos::RCP<const Thyra::ProductVectorSpaceBase<double> >
177 const std::string &str) {
178 Teuchos::RCP<Thyra::LinearOpBase<double> > result =
180 result->setObjectLabel(str);
201 return Teuchos::rcp(
new LU2x2InverseOp(A, hatInvA00, tildeInvA00, invS));
220 LinearOp &invS,
const std::string &str) {
221 Teuchos::RCP<Thyra::LinearOpBase<double> > result =
222 Teuchos::rcp(
new LU2x2InverseOp(A, hatInvA00, tildeInvA00, invS));
223 result->setObjectLabel(str);
virtual void implicitApply(const BlockedMultiVector &x, BlockedMultiVector &y, const double alpha=1.0, const double beta=0.0) const =0
Perform a matrix vector multiply with this implicitly defined blocked operator.
This linear operator approximates the inverse of a block operator using a block decomposition...
const LinearOp hatInvA00_
inverse of
Teuchos::RCP< const Thyra::ProductVectorSpaceBase< double > > productRange_
Range vector space.
const LinearOp A01_
operator
LinearOp createLU2x2InverseOp(BlockedLinearOp &A, LinearOp &hatInvA00, LinearOp &tildeInvA00, LinearOp &invS)
Constructor method for building LU2x2InverseOp.
Teuchos::RCP< const Thyra::ProductVectorSpaceBase< double > > productDomain_
Domain vector space.
virtual VectorSpace domain() const
Domain space of this operator.
LinearOp createLU2x2InverseOp(BlockedLinearOp &A, LinearOp &hatInvA00, LinearOp &tildeInvA00, LinearOp &invS, const std::string &str)
Constructor method for building LU2x2InverseOp.
LinearOp createLU2x2InverseOp(BlockedLinearOp &A, LinearOp &invA00, LinearOp &invS, const std::string &str)
Constructor method for building LU2x2InverseOp.
const BlockedLinearOp A_
operator
virtual void implicitApply(const BlockedMultiVector &x, BlockedMultiVector &y, const double alpha=1.0, const double beta=0.0) const
Perform a matrix vector multiply with this operator.
A virtual class that simplifies the construction of custom operators.
const LinearOp invS_
inverse of
LinearOp createLU2x2InverseOp(BlockedLinearOp &A, LinearOp &invA00, LinearOp &invS)
Constructor method for building LU2x2InverseOp.
virtual VectorSpace range() const
Range space of this operator.
const LinearOp A10_
operator
const LinearOp tildeInvA00_
inverse of