ML
Version of the Day
|
Wraps an ML preconditioner as an Ifpack_Preconditioner. More...
#include <ml_Ifpack_ML.h>
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=Ifpack_Cheap, const int=1550, const double=1e-9, Epetra_RowMatrix *=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_RowMatrix & | Matrix () 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 std::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 (NOT 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_Comm & | Comm () const |
Returns a reference to the communicator of this object. | |
const Epetra_Map & | OperatorDomainMap () const |
Returns a reference to the operator domain map. | |
const Epetra_Map & | OperatorRangeMap () const |
Returns a reference to the operator range map. | |
Wraps an ML preconditioner as an Ifpack_Preconditioner.