#include <MLAPI_Operator.h>
Inheritance diagram for MLAPI::Operator:
Public Member Functions | |
Constructors and destructors. | |
| Operator () | |
| Default constructor. | |
| Operator (const Space &DomainSpace, const Space &RangeSpace, ML_Operator *Op, bool Ownership=true, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null) | |
| Constructor with given already computed ML_Operator pointer. | |
| Operator (const Space &DomainSpace, const Space &RangeSpace, Epetra_RowMatrix *Matrix, bool Ownership=true, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null) | |
| Constructor with given already FillComplete()'d object. | |
| Operator (const Operator &RHS) | |
| Copy constructor. | |
| ~Operator () | |
| Destructor. | |
Reshape methods | |
| void | Reshape () |
Resets this object. | |
| void | Reshape (const Space &DomainSpace, const Space &RangeSpace, ML_Operator *Op, bool Ownership=true, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null) |
| Reshape with given already computed ML_Operator pointer. | |
| void | Reshape (const Space &DomainSpace, const Space &RangeSpace, Epetra_RowMatrix *Matrix, bool Ownership=true, Teuchos::RefCountPtr< ML_Operator_Box > AuxOp=Teuchos::null) |
| Reshape with given already FillComplete()'d object. | |
Overloaded operators | |
| Operator & | operator= (const Operator &RHS) |
Makes this object equivalent to RHS. | |
| Operator & | operator= (const string &Label) |
Sets the label of this object. | |
Get and Set methods | |
| const Space | GetOperatorDomainSpace () const |
| Returns a reference to the internally stored domain space. | |
| const Space | GetOperatorRangeSpace () const |
| Returns a reference to the internally stored range space. | |
| const Space | GetDomainSpace () const |
| Returns a reference to the internally stored domain space. | |
| const Space | GetRangeSpace () const |
| Returns a reference to the internally stored range space. | |
| const Space | GetColumnSpace () const |
| Returns a reference to the internally stored column space. | |
| int | GetNumGlobalRows () const |
| Returns the number of global rows. | |
| int | GetNumMyRows () const |
| Returns the number of local rows. | |
| int | GetNumGlobalCols () const |
| Returns the number of global columns. | |
| int | GetNumMyCols () const |
| Returns the number of local columns. | |
| int | GetNumGlobalNonzeros () const |
| Returns the global number of nonzeros. | |
| int | GetNumMyNonzeros () const |
| Returns the local number of nonzeros. | |
| const Epetra_RowMatrix * | GetRowMatrix () const |
| Returns the RefCountPtr of OperatorBox_. | |
| ML_Operator * | GetML_Operator () const |
| Returns the RefCountPtr of OperatorBox_. | |
|
const Teuchos::RefCountPtr< ML_Operator_Box > & | GetRCPOperatorBox () const |
| Returns the RefCountPtr of OperatorBox_. | |
|
const Teuchos::RefCountPtr< ML_Operator_Box > & | GetRCPAuxOperatorBox () const |
| Returns the RefCountPtr of AuxOperatorBox_. | |
|
const Teuchos::RefCountPtr< Epetra_RowMatrix > & | GetRCPRowMatrix () const |
| Returns the RefCountPtr of RowMatrix_. | |
| int | GetGRID (const int LRID) const |
Returns the global ID of local row ID LRID. | |
| int | GetGCID (const int LCID) const |
Returns the global ID of local column ID LCID. | |
Mathematical methods. | |
| int | Apply (const MultiVector &X, MultiVector &Y) const |
Applies this operator to LHS, returns the result in RHS. | |
Miscellaneous methods | |
| ostream & | Print (std::ostream &os, const bool verbose=true) const |
Prints basic information about this object. | |
| void | BuildColumnSpace () |
| Build the column space, by computing the GID of all local columns. | |
1.3.9.1