10 #ifndef __Teko_LU2x2Strategy_hpp__
11 #define __Teko_LU2x2Strategy_hpp__
13 #include "Teuchos_RCP.hpp"
14 #include "Thyra_LinearOpBase.hpp"
17 #include "Teko_InverseFactory.hpp"
18 #include "Teko_BlockPreconditionerFactory.hpp"
70 virtual const Teko::LinearOp
getHatInvA00(
const Teko::BlockedLinearOp& A,
74 virtual const Teko::LinearOp
getTildeInvA00(
const Teko::BlockedLinearOp& A,
78 virtual const Teko::LinearOp
getInvS(
const Teko::BlockedLinearOp& A,
93 const InverseLibrary& ) {}
110 return Teuchos::null;
135 Teuchos::RCP<RequestHandler> requestHandler_;
157 const Teko::LinearOp& invS)
166 virtual const Teko::LinearOp
getHatInvA00(
const Teko::BlockedLinearOp& ,
178 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.