Ifpack Package Browser (Single Doxygen Collection)
Development
|
Ifpack_AMDReordering: approximate minimum degree reordering. More...
#include <Ifpack_AMDReordering.h>
Public Member Functions | |
Ifpack_AMDReordering () | |
Constructor for Ifpack_Graph's. More... | |
Ifpack_AMDReordering (const Ifpack_AMDReordering &RHS) | |
Copy Constructor. More... | |
Ifpack_AMDReordering & | operator= (const Ifpack_AMDReordering &RHS) |
Assignment operator. More... | |
virtual | ~Ifpack_AMDReordering () |
Destructor. More... | |
int | SetParameter (const std::string Name, const int Value) |
Sets integer parameters `Name'. More... | |
int | SetParameter (const std::string Name, const double Value) |
Sets double parameters `Name'. More... | |
int | SetParameters (Teuchos::ParameterList &List) |
Sets all parameters. More... | |
int | Compute (const Ifpack_Graph &Graph) |
Computes all it is necessary to initialize the reordering object. More... | |
int | Compute (const Epetra_RowMatrix &Matrix) |
Computes all it is necessary to initialize the reordering object. More... | |
bool | IsComputed () const |
Returns true is the reordering object has been successfully initialized, false otherwise. More... | |
int | Reorder (const int i) const |
Returns the reordered index of row i . More... | |
int | InvReorder (const int i) const |
Returns the inverse reordered index of row i . More... | |
int | P (const Epetra_MultiVector &Xorig, Epetra_MultiVector &Xreord) const |
Applies reordering to multivector X, whose local length equals the number of local rows. More... | |
int | Pinv (const Epetra_MultiVector &Xorig, Epetra_MultiVector &Xinvreord) const |
Applies inverse reordering to multivector X, whose local length equals the number of local rows. More... | |
std::ostream & | Print (std::ostream &os) const |
Prints basic information on iostream. This function is used by operator<<. More... | |
int | NumMyRows () const |
Returns the number of local rows. More... | |
Public Member Functions inherited from Ifpack_Reordering | |
virtual | ~Ifpack_Reordering () |
Destructor. More... | |
Private Attributes | |
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_AMDReordering: approximate minimum degree reordering.
Definition at line 58 of file Ifpack_AMDReordering.h.
Ifpack_AMDReordering::Ifpack_AMDReordering | ( | ) |
Constructor for Ifpack_Graph's.
Definition at line 58 of file Ifpack_AMDReordering.cpp.
Ifpack_AMDReordering::Ifpack_AMDReordering | ( | const Ifpack_AMDReordering & | RHS | ) |
Copy Constructor.
Definition at line 66 of file Ifpack_AMDReordering.cpp.
|
inlinevirtual |
Destructor.
Definition at line 72 of file Ifpack_AMDReordering.h.
Ifpack_AMDReordering & Ifpack_AMDReordering::operator= | ( | const Ifpack_AMDReordering & | RHS | ) |
Assignment operator.
Definition at line 80 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets integer parameters `Name'.
Implements Ifpack_Reordering.
Definition at line 102 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets double parameters `Name'.
Implements Ifpack_Reordering.
Definition at line 109 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets all parameters.
Implements Ifpack_Reordering.
Definition at line 116 of file Ifpack_AMDReordering.cpp.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 132 of file Ifpack_AMDReordering.cpp.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 122 of file Ifpack_AMDReordering.cpp.
|
inlinevirtual |
Returns true
is the reordering object has been successfully initialized, false otherwise.
Implements Ifpack_Reordering.
Definition at line 90 of file Ifpack_AMDReordering.h.
|
inlinevirtual |
Returns the reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 200 of file Ifpack_AMDReordering.cpp.
|
inlinevirtual |
Returns the inverse reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 213 of file Ifpack_AMDReordering.cpp.
|
virtual |
Applies reordering to multivector X, whose local length equals the number of local rows.
Implements Ifpack_Reordering.
Definition at line 225 of file Ifpack_AMDReordering.cpp.
|
virtual |
Applies inverse reordering to multivector X, whose local length equals the number of local rows.
Implements Ifpack_Reordering.
Definition at line 241 of file Ifpack_AMDReordering.cpp.
|
virtual |
Prints basic information on iostream. This function is used by operator<<.
Implements Ifpack_Reordering.
Definition at line 257 of file Ifpack_AMDReordering.cpp.
|
inline |
Returns the number of local rows.
Definition at line 114 of file Ifpack_AMDReordering.h.
|
private |
Number of local rows in the graph.
Definition at line 121 of file Ifpack_AMDReordering.h.
|
private |
If true
, the reordering has been successfully computed.
Definition at line 123 of file Ifpack_AMDReordering.h.
|
private |
Contains the reordering.
Definition at line 125 of file Ifpack_AMDReordering.h.
|
private |
Contains the inverse reordering.
Definition at line 127 of file Ifpack_AMDReordering.h.