10#ifndef __Teko_SIMPLEPreconditionerFactory_hpp__
11#define __Teko_SIMPLEPreconditionerFactory_hpp__
13#include "Teko_BlockPreconditionerFactory.hpp"
14#include "Teko_InverseFactory.hpp"
43 const Teuchos::RCP<InverseFactory>& invPrsFactory,
double alpha);
52 virtual void setMassMatrix(Teko::LinearOp& mass) { massMatrix_ = mass; }
67 Teuchos::RCP<InverseFactory> customHFactory_;
68 Teuchos::RCP<InverseFactory> invVelFactory_;
69 Teuchos::RCP<InverseFactory> precVelFactory_;
70 Teuchos::RCP<InverseFactory> invPrsFactory_;
71 Teuchos::RCP<InverseFactory> precPrsFactory_;
77 Teko::LinearOp massMatrix_;
80 mutable Teuchos::ParameterList BlkDiagList_;
DiagonalType
Type describing the type of diagonal to construct.
Abstract class which block preconditioner factories in Teko should be based on.
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.
An implementation of a state object for block preconditioners.
SIMPLEPreconditionerFactory()
Default constructor.
LinearOp buildPreconditionerOperator(BlockedLinearOp &blo, BlockPreconditionerState &state) const
Function that is called to build the preconditioner for the linear operator that is passed in.
virtual bool updateRequestedParameters(const Teuchos::ParameterList &pl)
For assisting in construction of the preconditioner.
virtual void initializeFromParameterList(const Teuchos::ParameterList &pl)
Initialize from a parameter list.
virtual void setMassMatrix(Teko::LinearOp &mass)
Set the mass matrix for this factory.
virtual Teuchos::RCP< Teuchos::ParameterList > getRequestedParameters() const
For assisting in construction of the preconditioner.