47 #ifndef __Teko_SIMPLEPreconditionerFactory_hpp__
48 #define __Teko_SIMPLEPreconditionerFactory_hpp__
50 #include "Teko_BlockPreconditionerFactory.hpp"
51 #include "Teko_InverseFactory.hpp"
80 const Teuchos::RCP<InverseFactory>& invPrsFactory,
double alpha);
89 virtual void setMassMatrix(Teko::LinearOp& mass) { massMatrix_ = mass; }
104 Teuchos::RCP<InverseFactory> customHFactory_;
105 Teuchos::RCP<InverseFactory> invVelFactory_;
106 Teuchos::RCP<InverseFactory> invPrsFactory_;
108 DiagonalType fInverseType_;
112 Teko::LinearOp massMatrix_;
115 mutable Teuchos::ParameterList BlkDiagList_;
virtual LinearOp buildPreconditionerOperator(BlockedLinearOp &blo, BlockPreconditionerState &state) const =0
Function that is called to build the preconditioner for the linear operator that is passed in...
Abstract class which block preconditioner factories in Teko should be based on.
virtual bool updateRequestedParameters(const Teuchos::ParameterList &pl)
For assisting in construction of the preconditioner.
An implementation of a state object for block preconditioners.
virtual void setMassMatrix(Teko::LinearOp &mass)
Set the mass matrix for this factory.
virtual void initializeFromParameterList(const Teuchos::ParameterList &pl)
Initialize from a parameter list.
virtual Teuchos::RCP< Teuchos::ParameterList > getRequestedParameters() const
For assisting in construction of the preconditioner.
LinearOp buildPreconditionerOperator(BlockedLinearOp &blo, BlockPreconditionerState &state) const
Function that is called to build the preconditioner for the linear operator that is passed in...
SIMPLEPreconditionerFactory()
Default constructor.