Amesos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Amesos_Utils Class Reference

Amesos_Utils: Collections of basic utilities. More...

#include <Amesos_Utils.h>

Inheritance diagram for Amesos_Utils:
Inheritance graph
[legend]

Public Member Functions

 Amesos_Utils ()
 Default constructor. More...
 
 ~Amesos_Utils ()
 Default destructor. More...
 
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. More...
 
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. More...
 
void PrintLine () const
 Prints line on std::cout. More...
 
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 25 of file Amesos_Utils.h.

Constructor & Destructor Documentation

Amesos_Utils::Amesos_Utils ( )
inline

Default constructor.

Definition at line 29 of file Amesos_Utils.h.

Amesos_Utils::~Amesos_Utils ( )
inline

Default destructor.

Definition at line 32 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 35 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 58 of file Amesos_Utils.h.

void Amesos_Utils::PrintLine ( ) const
inline

Prints line on std::cout.

Definition at line 77 of file Amesos_Utils.h.

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

Definition at line 83 of file Amesos_Utils.h.


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