Ifpack Package Browser (Single Doxygen Collection)
Development
|
Ifpack_METISReordering: A class to reorder a graph using METIS. More...
#include <Ifpack_METISReordering.h>
Public Member Functions | |
Ifpack_METISReordering () | |
Constructor. More... | |
virtual | ~Ifpack_METISReordering () |
Destructor. More... | |
virtual int | SetParameter (const std::string Name, const int Value) |
Sets integer parameters `Name'. More... | |
virtual int | SetParameter (const std::string, const double) |
Sets double parameters `Name'. More... | |
virtual int | SetParameters (Teuchos::ParameterList &List) |
Sets all the parameters for the partitioner (none at moment). More... | |
virtual int | Compute (const Ifpack_Graph &Graph) |
Computes all it is necessary to initialize the reordering object. More... | |
virtual int | Compute (const Epetra_RowMatrix &Matrix) |
Computes all it is necessary to initialize the reordering object. More... | |
virtual bool | IsComputed () const |
Returns true is the reordering object has been successfully initialized, false otherwise. More... | |
virtual int | Reorder (const int i) const |
Returns the reordered index of row i . More... | |
virtual int | InvReorder (const int i) const |
Returns the inverse reordered index of row i . More... | |
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. More... | |
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. More... | |
virtual std::ostream & | Print (std::ostream &os) const |
Prints basic information on iostream. This function is used by operator<<. More... | |
Public Member Functions inherited from Ifpack_Reordering | |
virtual | ~Ifpack_Reordering () |
Destructor. More... | |
Private Attributes | |
bool | UseSymmetricGraph_ |
If true , the graph has to be symmetrized before calling METIS. More... | |
int | NumMyRows_ |
Number of local rows in the graph. More... | |
bool | IsComputed_ |
If true , the reordering has been successfully computed. More... | |
std::vector< int > | Reorder_ |
Contains the reordering. More... | |
std::vector< int > | InvReorder_ |
Contains the inverse reordering. More... | |
Ifpack_METISReordering: A class to reorder a graph using METIS.
Definition at line 60 of file Ifpack_METISReordering.h.
Ifpack_METISReordering::Ifpack_METISReordering | ( | ) |
Constructor.
Definition at line 64 of file Ifpack_METISReordering.cpp.
|
inlinevirtual |
Destructor.
Definition at line 68 of file Ifpack_METISReordering.h.
|
inlinevirtual |
Sets integer parameters `Name'.
Implements Ifpack_Reordering.
Definition at line 71 of file Ifpack_METISReordering.h.
|
inlinevirtual |
Sets double parameters `Name'.
Implements Ifpack_Reordering.
Definition at line 79 of file Ifpack_METISReordering.h.
|
inlinevirtual |
Sets all the parameters for the partitioner (none at moment).
Implements Ifpack_Reordering.
Definition at line 85 of file Ifpack_METISReordering.h.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 78 of file Ifpack_METISReordering.cpp.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 216 of file Ifpack_METISReordering.cpp.
|
inlinevirtual |
Returns true
is the reordering object has been successfully initialized, false otherwise.
Implements Ifpack_Reordering.
Definition at line 100 of file Ifpack_METISReordering.h.
|
virtual |
Returns the reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 226 of file Ifpack_METISReordering.cpp.
|
virtual |
Returns the inverse reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 239 of file Ifpack_METISReordering.cpp.
|
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.
|
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.
|
virtual |
Prints basic information on iostream. This function is used by operator<<.
Implements Ifpack_Reordering.
Definition at line 283 of file Ifpack_METISReordering.cpp.
|
private |
If true
, the graph has to be symmetrized before calling METIS.
Definition at line 124 of file Ifpack_METISReordering.h.
|
private |
Number of local rows in the graph.
Definition at line 126 of file Ifpack_METISReordering.h.
|
private |
If true
, the reordering has been successfully computed.
Definition at line 128 of file Ifpack_METISReordering.h.
|
private |
Contains the reordering.
Definition at line 130 of file Ifpack_METISReordering.h.
|
private |
Contains the inverse reordering.
Definition at line 132 of file Ifpack_METISReordering.h.