43 #ifndef IFPACK_UTILS_H 44 #define IFPACK_UTILS_H 47 #include "Epetra_Comm.h" 48 #if !( defined(_WIN32) ) 69 const int OverlappingLevel);
73 const int OverlappingLevel);
92 const int NumPDEEqns = 1);
104 const bool abs =
false,
105 const int steps = 10);
117 const bool abs =
false,
118 const int steps = 10);
134 const int NumPDEEqns = 1);
189 #endif // IFPACK_UTILS_H
bool operator<(const Ifpack_Element &rhs) const
int Ifpack_Analyze(const Epetra_RowMatrix &A, const bool Cheap=false, const int NumPDEEqns=1)
Analyzes the basic properties of the input matrix A; see ifp_analyze.
const Epetra_Comm & Comm() const
adjacency_list< vecS, vecS, undirectedS, no_property, property< edge_weight_t, double > > Graph
int Ifpack_AnalyzeVectorElements(const Epetra_Vector &Diagonal, const bool abs=false, const int steps=10)
Analyzes the distribution of values of the input vector Diagonal.
Ifpack_Element(const Ifpack_Element &rhs)
void Ifpack_PrintSparsity_Simple(const Epetra_RowMatrix &A)
virtual const char * Label() const
int Ifpack_AnalyzeMatrixElements(const Epetra_RowMatrix &A, const bool abs=false, const int steps=10)
Analyzes the distribution of values of the input matrix A.
void SetValue(const double val)
void Ifpack_PrintLine()
Prints a line of ‘=’ on cout.
int Ifpack_PrintSparsity(const Epetra_RowMatrix &A, const char *FileName=0, const int NumPDEEqns=1)
Epetra_CrsMatrix * Ifpack_CreateOverlappingCrsMatrix(const Epetra_RowMatrix *Matrix, const int OverlappingLevel)
Creates an overlapping Epetra_CrsMatrix. Returns 0 if OverlappingLevel is 0.
void Ifpack_BreakForDebugger(Epetra_Comm &Comm)
Stops the execution of code, so that a debugger can be attached.
int Ifpack_PrintResidual(char *Label, const Epetra_RowMatrix &A, const Epetra_MultiVector &X, const Epetra_MultiVector &Y)
Prints on cout the true residual.
std::string Ifpack_toString(const int &x)
Converts an integer to std::string.
void SetIndex(const int i)