Amesos Package Browser (Single Doxygen Collection) Development
Public Member Functions
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)

Definition at line 19 of file Amesos_Utils.h.


Constructor & Destructor Documentation

Amesos_Utils::Amesos_Utils ( ) [inline]

Default constructor.

Definition at line 23 of file Amesos_Utils.h.

Amesos_Utils::~Amesos_Utils ( ) [inline]

Default destructor.

Definition at line 26 of file Amesos_Utils.h.


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.

Definition at line 29 of file Amesos_Utils.h.

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.

Definition at line 52 of file Amesos_Utils.h.

void Amesos_Utils::PrintLine ( ) const [inline]

Prints line on std::cout.

Definition at line 71 of file Amesos_Utils.h.

void Amesos_Utils::SetMaxProcesses ( int &  MaxProcesses,
const Epetra_RowMatrix A 
) [inline]

Definition at line 77 of file Amesos_Utils.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines