#include <Amesos_Utils.h>
Public Member Functions | |
Amesos_Utils () | |
Default constructor. | |
~Amesos_Utils () | |
Default destructor. | |
void | ComputeTrueResidual (const Epetra_RowMatrix &Matrix, const Epetra_MultiVector &X, const Epetra_MultiVector &B, const bool UseTranspose, const std::string prefix) const |
Computes the true residual, B - Matrix * X, and prints the results. | |
void | ComputeVectorNorms (const Epetra_MultiVector &X, const Epetra_MultiVector &B, const std::string prefix) const |
Computes the norms of X and B and print the results. | |
void | PrintLine () const |
Prints line on std::cout. | |
void | SetMaxProcesses (int &MaxProcesses, const Epetra_RowMatrix &A) |
Amesos_Utils::Amesos_Utils | ( | ) | [inline] |
Default constructor.
Amesos_Utils::~Amesos_Utils | ( | ) | [inline] |
Default destructor.
void Amesos_Utils::ComputeTrueResidual | ( | const Epetra_RowMatrix & | Matrix, | |
const Epetra_MultiVector & | X, | |||
const Epetra_MultiVector & | B, | |||
const bool | UseTranspose, | |||
const std::string | prefix | |||
) | const [inline] |
Computes the true residual, B - Matrix * X, and prints the results.
void Amesos_Utils::ComputeVectorNorms | ( | const Epetra_MultiVector & | X, | |
const Epetra_MultiVector & | B, | |||
const std::string | prefix | |||
) | const [inline] |
Computes the norms of X and B and print the results.
void Amesos_Utils::PrintLine | ( | ) | const [inline] |
Prints line on std::cout.
void Amesos_Utils::SetMaxProcesses | ( | int & | MaxProcesses, | |
const Epetra_RowMatrix & | A | |||
) | [inline] |