43 #ifndef IFPACK_DIAG_PRECONDITIONER_H
44 #define IFPACK_DIAG_PRECONDITIONER_H
46 #include "Ifpack_ConfigDefs.h"
47 #include "Epetra_Operator.h"
48 #include "Epetra_Vector.h"
79 int SetUseTranspose(
bool UseTranspose_in)
81 UseTranspose_ = UseTranspose_in;
89 double NormInf()
const
94 const char* Label()
const
96 return(
"Ifpack_DiagPreconditioner");
99 bool UseTranspose()
const
101 return(UseTranspose_);
104 bool HasNormInf()
const
111 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