|
IFPACK Development
|
Ifpack_METISReordering: A class to reorder a graph using METIS. More...
#include <Ifpack_METISReordering.h>


Public Member Functions | |
| Ifpack_METISReordering () | |
| Constructor. | |
| virtual | ~Ifpack_METISReordering () |
| Destructor. | |
| virtual int | SetParameter (const std::string Name, const int Value) |
| Sets integer parameters ‘Name’. | |
| virtual int | SetParameter (const std::string, const double) |
| Sets double parameters ‘Name’. | |
| virtual int | SetParameters (Teuchos::ParameterList &List) |
| Sets all the parameters for the partitioner (none at moment). | |
| virtual int | Compute (const Ifpack_Graph &Graph) |
| Computes all it is necessary to initialize the reordering object. | |
| virtual int | Compute (const Epetra_RowMatrix &Matrix) |
| Computes all it is necessary to initialize the reordering object. | |
| virtual bool | IsComputed () const |
Returns true is the reordering object has been successfully initialized, false otherwise. | |
| virtual int | Reorder (const int i) const |
Returns the reordered index of row i. | |
| virtual int | InvReorder (const int i) const |
Returns the inverse reordered index of row i. | |
| virtual int | P (const Epetra_MultiVector &Xorig, Epetra_MultiVector &X) const |
| Applies reordering to multivector Xorig, whose local length equals the number of local rows, stores result in X. | |
| virtual int | Pinv (const Epetra_MultiVector &Xorig, Epetra_MultiVector &X) const |
| Applies inverse reordering to multivector Xorig, whose local length equals the number of local rows, stores result in X. | |
| virtual std::ostream & | Print (std::ostream &os) const |
| Prints basic information on iostream. This function is used by operator<<. | |
Public Member Functions inherited from Ifpack_Reordering | |
| virtual | ~Ifpack_Reordering () |
| Destructor. | |
Ifpack_METISReordering: A class to reorder a graph using METIS.
Definition at line 66 of file Ifpack_METISReordering.h.
| Ifpack_METISReordering::Ifpack_METISReordering | ( | ) |
Constructor.
Definition at line 64 of file Ifpack_METISReordering.cpp.
|
inlinevirtual |
Destructor.
Definition at line 74 of file Ifpack_METISReordering.h.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 216 of file Ifpack_METISReordering.cpp.
References Compute().
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 78 of file Ifpack_METISReordering.cpp.
References Copy.
Referenced by Compute().
|
virtual |
Returns the inverse reordered index of row i.
Implements Ifpack_Reordering.
Definition at line 239 of file Ifpack_METISReordering.cpp.
References IsComputed().
|
inlinevirtual |
Returns true is the reordering object has been successfully initialized, false otherwise.
Implements Ifpack_Reordering.
Definition at line 106 of file Ifpack_METISReordering.h.
Referenced by InvReorder(), Print(), and Reorder().
|
virtual |
Applies reordering to multivector Xorig, whose local length equals the number of local rows, stores result in X.
Implements Ifpack_Reordering.
Definition at line 251 of file Ifpack_METISReordering.cpp.
References Epetra_MultiVector::NumVectors().
|
virtual |
Applies inverse reordering to multivector Xorig, whose local length equals the number of local rows, stores result in X.
Implements Ifpack_Reordering.
Definition at line 267 of file Ifpack_METISReordering.cpp.
References Epetra_MultiVector::NumVectors().
|
virtual |
Prints basic information on iostream. This function is used by operator<<.
Implements Ifpack_Reordering.
Definition at line 283 of file Ifpack_METISReordering.cpp.
References IsComputed().
|
virtual |
Returns the reordered index of row i.
Implements Ifpack_Reordering.
Definition at line 226 of file Ifpack_METISReordering.cpp.
References IsComputed().
|
inlinevirtual |
Sets integer parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 77 of file Ifpack_METISReordering.h.
|
inlinevirtual |
Sets double parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 85 of file Ifpack_METISReordering.h.
|
inlinevirtual |
Sets all the parameters for the partitioner (none at moment).
Implements Ifpack_Reordering.
Definition at line 91 of file Ifpack_METISReordering.h.