10 #ifndef __Teko_DiagonallyScaledPreconditionerFactory_hpp__
11 #define __Teko_DiagonallyScaledPreconditionerFactory_hpp__
13 #include "Teuchos_Time.hpp"
16 #include "Teko_PreconditionerFactory.hpp"
48 typedef enum { COLUMN_SCALING, ROW_SCALING } ScalingType;
58 ScalingType columnScaling = COLUMN_SCALING,
59 DiagonalType diagonalType = AbsRowSum);
97 Teuchos::RCP<Teko::InverseFactory> invFactory_;
98 ScalingType scalingType_;
99 DiagonalType diagonalType_;
virtual LinearOp buildPreconditionerOperator(LinearOp &lo, PreconditionerState &state) const
Function that is called to build the preconditioner for the linear operator that is passed in...
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.
An implementation of a state object preconditioners.
Using an absolute row sum approximation of the matrix this factory creates an inverse using the expli...