47 #ifndef __Teko_LU2x2Strategy_hpp__
48 #define __Teko_LU2x2Strategy_hpp__
50 #include "Teuchos_RCP.hpp"
51 #include "Thyra_LinearOpBase.hpp"
54 #include "Teko_InverseFactory.hpp"
55 #include "Teko_BlockPreconditionerFactory.hpp"
107 virtual const Teko::LinearOp
getHatInvA00(
const Teko::BlockedLinearOp& A,
111 virtual const Teko::LinearOp
getTildeInvA00(
const Teko::BlockedLinearOp& A,
115 virtual const Teko::LinearOp
getInvS(
const Teko::BlockedLinearOp& A,
130 const InverseLibrary& ) {}
147 return Teuchos::null;
172 Teuchos::RCP<RequestHandler> requestHandler_;
194 const Teko::LinearOp& invS)
203 virtual const Teko::LinearOp
getHatInvA00(
const Teko::BlockedLinearOp& ,
215 virtual const Teko::LinearOp
getInvS(
const Teko::BlockedLinearOp& ,
virtual const Teko::LinearOp getInvS(const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const =0
void setRequestHandler(const Teuchos::RCP< RequestHandler > &rh)
This method sets the request handler for this object.
virtual const Teko::LinearOp getInvS(const Teko::BlockedLinearOp &, BlockPreconditionerState &) const
virtual void initializeFromParameterList(const Teuchos::ParameterList &, const InverseLibrary &)
This function builds the internals of the state from a parameter list.
An implementation of a state object for block preconditioners.
Abstract strategy for computing inv(F) and inv(S) in the LU2x2PreconditionerFactory.
Teuchos::RCP< RequestHandler > getRequestHandler() const
This method gets the request handler uses by this object.
virtual Teuchos::RCP< Teuchos::ParameterList > getRequestedParameters() const
Request the additional parameters this preconditioner factory needs.
virtual const Teko::LinearOp getHatInvA00(const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const =0
virtual const Teko::LinearOp getHatInvA00(const Teko::BlockedLinearOp &, BlockPreconditionerState &) const
virtual const Teko::LinearOp getTildeInvA00(const Teko::BlockedLinearOp &, BlockPreconditionerState &) const
StaticLU2x2Strategy(const Teko::LinearOp &hInvA00, const Teko::LinearOp &tInvA00, const Teko::LinearOp &invS)
Constructor that takes the static and objects.
const Teko::LinearOp hatInvA00_
virtual const Teko::LinearOp getTildeInvA00(const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const =0
const Teko::LinearOp tildeInvA00_
A simple strategy for use with LU2x2PreconditionerFactory, that offers static objects for inv(F) and ...
const Teko::LinearOp invS_
virtual bool updateRequestedParameters(const Teuchos::ParameterList &)
Update this object with the fields from a parameter list.