43 #ifndef IFPACK_DIAG_PRECONDITIONER_H
44 #define IFPACK_DIAG_PRECONDITIONER_H
46 #if defined(Ifpack_SHOW_DEPRECATED_WARNINGS)
48 #warning "The Ifpack package is deprecated"
52 #include "Ifpack_ConfigDefs.h"
53 #include "Epetra_Operator.h"
54 #include "Epetra_Vector.h"
85 int SetUseTranspose(
bool UseTranspose_in)
87 UseTranspose_ = UseTranspose_in;
95 double NormInf()
const
100 const char* Label()
const
102 return(
"Ifpack_DiagPreconditioner");
105 bool UseTranspose()
const
107 return(UseTranspose_);
110 bool HasNormInf()
const
117 return(diag_.Comm());
Ifpack_DiagPreconditioner: a class for diagonal preconditioning.
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Ifpack_DiagPreconditioner(const Epetra_Map &DomainMap, const Epetra_Map &RangeMap, const Epetra_Vector &diag)
ctor
~Ifpack_DiagPreconditioner()
dtor