46 #if defined(Ifpack_SHOW_DEPRECATED_WARNINGS) 
   48 #warning "The Ifpack package is deprecated" 
   55 #ifdef HAVE_IFPACK_EPETRAEXT 
   58 #include "Epetra_CompObject.h" 
   59 #include "Epetra_MultiVector.h" 
   60 #include "Epetra_Vector.h" 
   61 #include "Epetra_CrsGraph.h" 
   62 #include "Epetra_CrsMatrix.h" 
   63 #include "Epetra_BlockMap.h" 
   64 #include "Epetra_Map.h" 
   65 #include "Epetra_Object.h" 
   66 #include "Epetra_Comm.h" 
   67 #include "Epetra_CrsMatrix.h" 
   68 #include "Epetra_Time.h" 
   69 #include "Teuchos_RefCountPtr.hpp" 
  109     return(IsInitialized_);
 
  143   int SetUseTranspose(
bool UseTranspose_in) {UseTranspose_ = UseTranspose_in; 
return(0);};
 
  151     return(Multiply(
false,X,Y));
 
  175                  const int MaxIters = 1550,
 
  176                  const double Tol = 1e-9,
 
  189   const char* 
Label()
 const {
return(Label_);}
 
  192   int SetLabel(
const char* Label_in)
 
  194     strcpy(Label_,Label_in);
 
  199   double NormInf()
 const {
return(0.0);};
 
  223   virtual std::ostream& 
Print(std::ostream& os) 
const;
 
  228     return(NumInitialize_);
 
  240     return(NumApplyInverse_);
 
  246     return(InitializeTime_);
 
  252     return(ComputeTime_);
 
  258     return(ApplyInverseTime_);
 
  269     return(ComputeFlops_);
 
  274     return(ApplyInverseFlops_);
 
  283   Ifpack_IHSS(
const Ifpack_IHSS& 
RHS) :
 
  288   Ifpack_IHSS& operator=(
const Ifpack_IHSS& )
 
  310 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 
  311   int NumGlobalRows()
 const {
return(A_->NumGlobalRows());};
 
  315   int NumGlobalCols()
 const {
return(A_->NumGlobalCols());};
 
  317   long long NumGlobalRows64()
 const {
return(A_->NumGlobalRows64());};
 
  318   long long NumGlobalCols64()
 const {
return(A_->NumGlobalCols64());};
 
  321   int NumMyRows()
 const {
return(A_->NumMyRows());};
 
  324   int NumMyCols()
 const {
return(A_->NumMyCols());};
 
  327   int PowerMethod(
Epetra_Operator * Op,
const int MaximumIterations,  
double& lambda_max);
 
  339   Teuchos::RefCountPtr<Epetra_CrsMatrix> A_;
 
  340   Teuchos::RefCountPtr<Epetra_RowMatrix> Aherm_;
 
  341   Teuchos::RefCountPtr<Epetra_RowMatrix> Askew_;
 
  342   Teuchos::RefCountPtr<Ifpack_Preconditioner> Pherm_;
 
  343   Teuchos::RefCountPtr<Ifpack_Preconditioner> Pskew_;
 
  376   mutable int NumApplyInverse_;
 
  378   double InitializeTime_;
 
  382   mutable double ApplyInverseTime_;
 
  384   double ComputeFlops_;
 
  386   mutable double ApplyInverseFlops_;
 
  394 #pragma message("No EpetraEXT") 
  396 #warning "No EpetraEXT" 
virtual int NumInitialize() const =0
Returns the number of calls to Initialize(). 
virtual int SetUseTranspose(bool UseTranspose)=0
virtual double ComputeTime() const =0
Returns the time spent in Compute(). 
virtual double ComputeFlops() const =0
Returns the number of flops in the computation phase. 
virtual double ApplyInverseTime() const =0
Returns the time spent in ApplyInverse(). 
virtual double ApplyInverseFlops() const =0
Returns the number of flops in the application of the preconditioner. 
virtual const Epetra_RowMatrix & Matrix() const =0
Returns a pointer to the matrix to be preconditioned. 
virtual bool IsInitialized() const =0
Returns true if the preconditioner has been successfully initialized, false otherwise. 
virtual std::ostream & Print(std::ostream &os) const =0
Prints basic information on iostream. This function is used by operator<<. 
virtual const Epetra_Map & OperatorDomainMap() const =0
virtual const char * Label() const =0
virtual int Initialize()=0
Computes all it is necessary to initialize the preconditioner. 
virtual double InitializeTime() const =0
Returns the time spent in Initialize(). 
Ifpack_CondestType
Ifpack_CondestType: enum to define the type of condition number estimate. 
virtual int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0
virtual const Epetra_Map & OperatorRangeMap() const =0
virtual const Epetra_Comm & Comm() const =0
virtual int SetParameters(Teuchos::ParameterList &List)=0
Sets all parameters for the preconditioner. 
virtual double Condest() const =0
Returns the computed condition number estimate, or -1.0 if not computed. 
virtual bool UseTranspose() const =0
Ifpack_ScalingType enumerable type. 
Ifpack_Preconditioner: basic class for preconditioning in Ifpack. 
virtual int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const =0
Applies the preconditioner to vector X, returns the result in Y. 
virtual double InitializeFlops() const =0
Returns the number of flops in the initialization phase. 
virtual bool HasNormInf() const =0
virtual int NumCompute() const =0
Returns the number of calls to Compute(). 
virtual double NormInf() const =0
virtual bool IsComputed() const =0
Returns true if the preconditioner has been successfully computed, false otherwise. 
virtual int Compute()=0
Computes all it is necessary to apply the preconditioner. 
int Solve(int, TYPE *, TYPE *, TYPE *)
virtual int NumApplyInverse() const =0
Returns the number of calls to ApplyInverse().