MLAPI::InverseOperator Class Reference

InverseOperator: basic class to define smoother and coarse solvers. More...

#include <MLAPI_InverseOperator.h>

Inheritance diagram for MLAPI::InverseOperator:
Inheritance graph
[legend]
Collaboration diagram for MLAPI::InverseOperator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InverseOperator ()
 Empty constructor.
 InverseOperator (const Operator &Op, const string Type)
 Constructor for a given Operator and type, and default parameters.
 InverseOperator (const Operator &Op, const string Type, Teuchos::ParameterList &List)
 Constructor for a given Operator, type and parameters.
 InverseOperator (const InverseOperator &RHS)
 Copy constructor.
 ~InverseOperator ()
 Destructor.

InverseOperatoroperator= (const InverseOperator &RHS)
 Operator =.

void Reshape ()
 Resets this object.
void Reshape (const Operator &Op, const string Type)
 Reshapes the object with default values.
void Reshape (const Operator &Op, const string Type, Teuchos::ParameterList &List, Teuchos::ParameterList *pushlist=NULL)
 Reshapes the object by setting the Operator and the specified type.
void Reshape (Ifpack_Preconditioner *prec, const Operator &Op, const bool ownership)
 Reshape with preconstructed smoother as Ifpack_Preconditioner.

const Space GetOperatorRangeSpace () const
 Returns a reference to the range space of this object.
const Space GetOperatorDomainSpace () const
 Returns a reference to the domain space of this object.
const Space GetRangeSpace () const
 Returns a reference to the range space of this object.
const Space GetDomainSpace () const
 Returns a reference to the domain space of this object.
const Teuchos::RefCountPtr
< Epetra_RowMatrix
RCPRowMatrix () const
 Returns pointer of the internally stored ML_Epetra::RowMatrix object.
Epetra_RowMatrixRowMatrix () const
 Returns pointer of the internally stored ML_Epetra::RowMatrix object.
const OperatorGetOperator () const
 Returns a reference to the Operator of which this object defines the inverse.
Teuchos::RefCountPtr
< Ifpack_Preconditioner > & 
GetRCPData ()
 Returns a pointer to the internally stored IFPACK preconditioner.
Teuchos::RefCountPtr
< ML_Epetra::MultiLevelPreconditioner > & 
GetRCPMLPrec ()
 Returns a pointer to the internally stored IFPACK preconditioner.
const Teuchos::RefCountPtr
< Ifpack_Preconditioner > & 
GetRCPData () const
 Returns a pointer to the internally stored IFPACK preconditioner.
const Teuchos::RefCountPtr
< ML_Epetra::MultiLevelPreconditioner > & 
GetRCPMLPrec () const
 Returns a pointer to the internally stored ML preconditioner.

int Apply (const MultiVector &x, MultiVector &y) const
 Applies this object to vector lhs, returns values in rhs.
MultiVector operator() (const MultiVector &LHS)
 Applies the operator to LHS, returns the results.
MultiVector operator() (const MultiVector &LHS, const MultiVector &RHS)
 Applies the operator to LHS using RHS as initial solution, returns the results.

ostream & Print (std::ostream &os, const bool verbose=true) const
 Prints out basic information about this object.

Detailed Description

InverseOperator: basic class to define smoother and coarse solvers.

Author:
Marzio Sala, D-INFK/ETHZ.
Date:
Last updated on Mar-06.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 09:59:52 2011 for ML by  doxygen 1.6.3