46 #if defined(Ifpack_SHOW_DEPRECATED_WARNINGS) 
   48 #warning "The Ifpack package is deprecated" 
   52 #include "Ifpack_ConfigDefs.h" 
   53 #include "Ifpack_CondestType.h" 
   55 #include "Ifpack_Preconditioner.h" 
   56 #include "Ifpack_IKLU_Utils.h" 
   57 #include "Epetra_Vector.h" 
   58 #include "Epetra_CrsMatrix.h" 
   59 #include "Epetra_Time.h" 
   60 #include "Teuchos_RefCountPtr.hpp" 
  119     return(IsInitialized_);
 
  152   double Condest(
const Ifpack_CondestType CT = Ifpack_Cheap,
 
  153                  const int MaxIters = 1550,
 
  154                  const double Tol = 1e-9,
 
  173   int SetUseTranspose(
bool UseTranspose_in) {UseTranspose_ = UseTranspose_in; 
return(0);};
 
  208     return(Label_.c_str());
 
  219   virtual std::ostream& 
Print(std::ostream& os) 
const;
 
  224     return(NumInitialize_);
 
  236     return(NumApplyInverse_);
 
  242     return(InitializeTime_);
 
  248     return(ComputeTime_);
 
  254     return(ApplyInverseTime_);
 
  265     return(ComputeFlops_);
 
  270     return(ApplyInverseFlops_);
 
  273   inline double LevelOfFill()
 const {
 
  274     return(LevelOfFill_);
 
  297     return(DropTolerance_);
 
  301 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 
  307   long long NumGlobalNonzeros64()
 const {
 
  309     return(
L().NumGlobalNonzeros64() + 
U().NumGlobalNonzeros64() - 
L().NumGlobalRows64());
 
  346   Teuchos::RefCountPtr<Epetra_CrsMatrix> L_;
 
  348   Teuchos::RefCountPtr<Epetra_CrsMatrix> U_;
 
  360   double DropTolerance_;
 
  378   mutable int NumApplyInverse_;
 
  380   double InitializeTime_;
 
  384   mutable double ApplyInverseTime_;
 
  386   double ComputeFlops_;
 
  388   mutable double ApplyInverseFlops_;
 
  392   long long GlobalNonzeros_;
 
  393   Teuchos::RefCountPtr<Epetra_SerialComm> SerialComm_;
 
  394   Teuchos::RefCountPtr<Epetra_Map> SerialMap_;
 
const Epetra_CrsMatrix & U() const 
Returns a reference to the U factor. 
Ifpack_IKLU(const Epetra_RowMatrix *A)
Ifpack_IKLU constuctor with variable number of indices per row. 
const Epetra_RowMatrix & Matrix() const 
Returns a reference to the matrix to be preconditioned. 
const Epetra_CrsMatrix & L() const 
Returns a reference to the L factor. 
virtual std::ostream & Print(std::ostream &os) const 
Prints basic information on iostream. This function is used by operator<<. 
int SetParameters(Teuchos::ParameterList ¶meterlis)
Set parameters using a Teuchos::ParameterList object. 
virtual const Epetra_Map & OperatorDomainMap() const =0
virtual int NumApplyInverse() const 
Returns the number of calls to ApplyInverse(). 
const Epetra_Map & OperatorRangeMap() const 
Returns the Epetra_Map object associated with the range of this operator. 
virtual double InitializeTime() const 
Returns the time spent in Initialize(). 
int NumGlobalNonzeros() const 
Returns the number of nonzero entries in the global graph. 
const Epetra_Map & OperatorDomainMap() const 
Returns the Epetra_Map object associated with the domain of this operator. 
virtual double ComputeTime() const 
Returns the time spent in Compute(). 
int NumMyNonzeros() const 
Returns the number of nonzero entries in the local graph. 
virtual const Epetra_Map & OperatorRangeMap() const =0
Ifpack_ScalingType enumerable type. 
virtual double ApplyInverseFlops() const 
Returns the number of flops in the application of the preconditioner. 
const char * Label() const 
Returns the label of this object. 
Ifpack_Preconditioner: basic class for preconditioning in Ifpack. 
bool IsInitialized() const 
Returns true if the preconditioner has been successfully initialized. 
virtual double ApplyInverseTime() const 
Returns the time spent in ApplyInverse(). 
bool IsComputed() const 
If factor is completed, this query returns true, otherwise it returns false. 
bool UseTranspose() const 
Returns the current UseTranspose setting. 
virtual int NumCompute() const 
Returns the number of calls to Compute(). 
bool HasNormInf() const 
Returns false because this class cannot compute an Inf-norm. 
virtual ~Ifpack_IKLU()
Ifpack_IKLU Destructor. 
double DropTolerance() const 
Gets the dropping tolerance. 
virtual double InitializeFlops() const 
Returns the number of flops in the initialization phase. 
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const 
Returns the result of a Ifpack_IKLU forward/back solve on a Epetra_MultiVector X in Y...
Ifpack_IKLU: A class for constructing and using an incomplete LU factorization of a given Epetra_RowM...
double RelativeThreshold() const 
Get relative threshold value. 
double RelaxValue() const 
Set relative threshold value. 
const Epetra_Comm & Comm() const 
Returns the Epetra_BlockMap object associated with the range of this matrix operator. 
virtual int NumInitialize() const 
Returns the number of calls to Initialize(). 
double NormInf() const 
Returns 0.0 because this class cannot compute Inf-norm. 
int SetUseTranspose(bool UseTranspose_in)
If set true, transpose of this operator will be applied. 
int SetLabel(const char *Label_in)
Sets the label for this object. 
double AbsoluteThreshold() const 
Get absolute threshold value. 
int Initialize()
Initialize L and U with values from user matrix A. 
double Condest() const 
Returns the computed estimated condition number, or -1.0 if no computed. 
int Compute()
Compute IC factor U using the specified graph, diagonal perturbation thresholds and relaxation parame...
virtual double ComputeFlops() const 
Returns the number of flops in the computation phase.