47 #ifndef __Teko_TimingsSIMPLEPreconditionerFactory_hpp__ 48 #define __Teko_TimingsSIMPLEPreconditionerFactory_hpp__ 50 #include "Teko_BlockPreconditionerFactory.hpp" 51 #include "Teko_InverseFactory.hpp" 54 #include "Teuchos_Time.hpp" 84 const Teuchos::RCP<InverseFactory> & invPrsFactory,
99 { massMatrix_ = mass; }
114 Teuchos::RCP<InverseFactory> customHFactory_;
115 Teuchos::RCP<InverseFactory> invVelFactory_;
116 Teuchos::RCP<InverseFactory> invPrsFactory_;
122 Teko::LinearOp massMatrix_;
125 mutable Teuchos::ParameterList BlkDiagList_;
127 mutable Teuchos::Time constrTotal_;
128 mutable Teuchos::Time subTotal_;
129 mutable int constrCount_;
131 mutable Teuchos::RCP<DiagnosticLinearOp> timed_HBt_;
132 mutable Teuchos::RCP<DiagnosticLinearOp> timed_B_;
133 mutable Teuchos::RCP<DiagnosticLinearOp> timed_invF_;
134 mutable Teuchos::RCP<DiagnosticLinearOp> timed_invS_;
135 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.
LinearOp buildPreconditionerOperator(BlockedLinearOp &blo, BlockPreconditionerState &state) const
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 void initializeFromParameterList(const Teuchos::ParameterList &pl)
Initialize from a parameter list.
An implementation of a state object for block preconditioners.
virtual Teuchos::RCP< Teuchos::ParameterList > getRequestedParameters() const
For assisting in construction of the preconditioner.
DiagonalType
Type describing the type of diagonal to construct.