Amesos_Utils Class Reference

Amesos_Utils: Collections of basic utilities. More...

#include <Amesos_Utils.h>

Inheritance diagram for Amesos_Utils:

Inheritance graph
[legend]

List of all members.

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)


Detailed Description

Amesos_Utils: Collections of basic utilities.

Author:
Marzio Sala, SNL 9214
Date:
Last updated on 24-May-05 (Champions' League Final day)

Constructor & Destructor Documentation

Amesos_Utils::Amesos_Utils (  )  [inline]

Default constructor.

Amesos_Utils::~Amesos_Utils (  )  [inline]

Default destructor.


Member Function Documentation

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]


The documentation for this class was generated from the following file: