47 #ifndef __Teko_DiagonallyScaledPreconditionerFactory_hpp__
48 #define __Teko_DiagonallyScaledPreconditionerFactory_hpp__
50 #include "Teuchos_Time.hpp"
53 #include "Teko_PreconditionerFactory.hpp"
86 typedef enum {COLUMN_SCALING, ROW_SCALING} ScalingType;
133 Teuchos::RCP<Teko::InverseFactory> invFactory_;
134 ScalingType scalingType_;
An implementation of a state object preconditioners.
Specifies that the diagonal entry is .
virtual void initializeFromParameterList(const Teuchos::ParameterList &settings)
This function builds the internals of the preconditioner factory from a parameter list.
Abstract class which block preconditioner factories in Teko should be based on.
virtual ~DiagonallyScaledPreconditionerFactory()
default destructor: prints out diagnostic string
DiagonallyScaledPreconditionerFactory()
Default constructor, for use with the AutoClone class.
virtual LinearOp buildPreconditionerOperator(LinearOp &lo, PreconditionerState &state) const
Function that is called to build the preconditioner for the linear operator that is passed in.
Using an absolute row sum approximation of the matrix this factory creates an inverse using the expli...
DiagonalType
Type describing the type of diagonal to construct.