10 #ifndef __Teko_PresLaplaceLSCStrategy_hpp__
11 #define __Teko_PresLaplaceLSCStrategy_hpp__
13 #include "Teko_LSCStrategy.hpp"
18 class LSCPrecondState;
36 const Teuchos::RCP<InverseFactory> &invFactS);
134 virtual void setSymmetric(
bool isSymmetric) { isSymmetric_ = isSymmetric; }
138 const InverseLibrary &invLib);
168 Teuchos::RCP<InverseFactory> invFactoryV_;
169 Teuchos::RCP<InverseFactory> invFactoryP_;
178 DiagonalType scaleType_;
186 static std::string getPressureLaplaceString() {
return "Pressure Laplace Operator"; }
187 static std::string getVelocityMassString() {
return "Velocity Mass Operator"; }
virtual Teuchos::RCP< Teuchos::ParameterList > getRequestedParameters() const
For assiting in construction of the preconditioner.
virtual void setEigSolveParam(int sz)
Set the number of power series iterations to use when finding the spectral radius.
virtual LinearOp getInvBHBt(const BlockedLinearOp &A, BlockPreconditionerState &state) const
virtual bool updateRequestedParameters(const Teuchos::ParameterList &pl)
For assiting in construction of the preconditioner.
virtual void setSymmetric(bool isSymmetric)
An implementation of a state object for block preconditioners.
virtual int getEigSolveParam()
Return the number of power series iterations to use when finding the spectral radius.
virtual LinearOp getInvBQBt(const BlockedLinearOp &A, BlockPreconditionerState &state) const
virtual void setUseFullLDU(bool val)
Set to true to use the Full LDU decomposition, false otherwise.
virtual void buildState(BlockedLinearOp &A, BlockPreconditionerState &state) const
Functions inherited from LSCStrategy.
virtual LinearOp getInvMass(const BlockedLinearOp &A, BlockPreconditionerState &state) const
virtual LinearOp getInnerStabilization(const BlockedLinearOp &, BlockPreconditionerState &) const
Preconditioner state for the LSC factory.
void computeInverses(const BlockedLinearOp &A, LSCPrecondState *state) const
Strategy for driving LSCPreconditionerFactory.
virtual void initializeState(const BlockedLinearOp &A, LSCPrecondState *state) const
Initialize the state object using this blocked linear operator.
virtual void initializeFromParameterList(const Teuchos::ParameterList &pl, const InverseLibrary &invLib)
Initialize from a parameter list.
virtual LinearOp getOuterStabilization(const BlockedLinearOp &A, BlockPreconditionerState &state) const
virtual LinearOp getInvF(const BlockedLinearOp &A, BlockPreconditionerState &state) const
virtual bool useFullLDU() const
A strategy that takes a single inverse factory and uses that for all inverses. If no mass matrix is p...
virtual LinearOp getHScaling(const BlockedLinearOp &A, BlockPreconditionerState &state) const