ML_Epetra::Ifpack_ML Class Reference

Wraps an ML preconditioner as an Ifpack_Preconditioner. More...

#include <ml_Ifpack_ML.h>

Collaboration diagram for ML_Epetra::Ifpack_ML:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Ifpack_ML (Epetra_RowMatrix *A)
 Constructor.
virtual ~Ifpack_ML ()
 Destructor.
virtual int SetParameters (Teuchos::ParameterList &List)
 Sets all the parameters for the preconditioner from the list.
virtual int Initialize ()
 Initialize the preconditioner.
virtual bool IsInitialized () const
 Returns true if the preconditioner has been successfully initialized, false otherwise.
virtual int Compute ()
 Computes all it is necessary to apply the preconditioner.
virtual bool IsComputed () const
 Returns true if the preconditioner has been successfully computed, false otherwise.
virtual double Condest (const Ifpack_CondestType CT=Ifpack_Cheap, const int MaxIters=1550, const double Tol=1e-9, Epetra_RowMatrix *Matrix=0)
 Computes the condition number estimate, returns its value.
virtual double Condest () const
 Returns the computed condition number estimate, or -1.0 if not computed.
virtual int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Applies the preconditioner to vector X, returns the result in Y.
virtual const Epetra_RowMatrixMatrix () const
 Returns a pointer to the matrix to be preconditioned.
virtual int NumInitialize () const
 Returns the number of calls to Initialize().
virtual int NumCompute () const
 Returns the number of calls to Compute().
virtual int NumApplyInverse () const
 Returns the number of calls to ApplyInverse().
virtual double InitializeTime () const
 Returns the time spent in Initialize().
virtual double ComputeTime () const
 Returns the time spent in Compute().
virtual double ApplyInverseTime () const
 Returns the time spent in ApplyInverse().
virtual double InitializeFlops () const
 Returns the number of flops in the initialization phase.
virtual double ComputeFlops () const
 Returns the number of flops in the computation phase.
virtual double ApplyInverseFlops () const
 Returns the number of flops in the application of the preconditioner.
virtual ostream & Print (std::ostream &os) const
 Prints basic information on iostream. This function is used by operator<<.
int SetUseTranspose (bool UseTranspose)
 Sets the use of transpose 9NOT SUPPORTED).
int Apply (const Epetra_MultiVector &, Epetra_MultiVector &) const
 Applies the matrix to a vector (NOT SUPPORTED).
double NormInf () const
 Returns the norm inf (NOT SUPPORTED).
const char * Label () const
 Returns the label of this object.
bool UseTranspose () const
 Returns true if the transpose is used.
bool HasNormInf () const
 Returns true if the class furnishes an infinite norm.
const Epetra_CommComm () const
 Returns a reference to the communicator of this object.
const Epetra_MapOperatorDomainMap () const
 Returns a reference to the operator domain map.
const Epetra_MapOperatorRangeMap () const
 Returns a reference to the operator range map.

Detailed Description

Wraps an ML preconditioner as an Ifpack_Preconditioner.

Author:
Marzio Sala, SNL 9214
Date:
Last updated on 14-Mar-05.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:24:45 2010 for ML by  doxygen 1.4.7