10 #ifndef __Teko_TimingsSIMPLEPreconditionerFactory_hpp__
11 #define __Teko_TimingsSIMPLEPreconditionerFactory_hpp__
13 #include "Teko_BlockPreconditionerFactory.hpp"
14 #include "Teko_InverseFactory.hpp"
17 #include "Teuchos_Time.hpp"
46 const Teuchos::RCP<InverseFactory>& invPrsFactory,
59 virtual void setMassMatrix(Teko::LinearOp& mass) { massMatrix_ = mass; }
74 Teuchos::RCP<InverseFactory> customHFactory_;
75 Teuchos::RCP<InverseFactory> invVelFactory_;
76 Teuchos::RCP<InverseFactory> invPrsFactory_;
78 DiagonalType fInverseType_;
82 Teko::LinearOp massMatrix_;
85 mutable Teuchos::ParameterList BlkDiagList_;
87 mutable Teuchos::Time constrTotal_;
88 mutable Teuchos::Time subTotal_;
89 mutable int constrCount_;
91 mutable Teuchos::RCP<DiagnosticLinearOp> timed_HBt_;
92 mutable Teuchos::RCP<DiagnosticLinearOp> timed_B_;
93 mutable Teuchos::RCP<DiagnosticLinearOp> timed_invF_;
94 mutable Teuchos::RCP<DiagnosticLinearOp> timed_invS_;
95 mutable Teuchos::RCP<DiagnosticLinearOp> timed_iU_t_iL_;
virtual bool updateRequestedParameters(const Teuchos::ParameterList &pl)
For assisting in construction of the preconditioner.
virtual ~TimingsSIMPLEPreconditionerFactory()
Destructor that outputs construction timings.
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...
TimingsSIMPLEPreconditionerFactory()
Default constructor.
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.
Abstract class which block preconditioner factories in Teko should be based on.
virtual void initializeFromParameterList(const Teuchos::ParameterList &pl)
Initialize from a parameter list.
An implementation of a state object for block preconditioners.
LinearOp buildPreconditionerOperator(BlockedLinearOp &blo, BlockPreconditionerState &state) const
Function that is called to build the preconditioner for the linear operator that is passed in...