IFPACK Development
|
Ifpack_AMDReordering: approximate minimum degree reordering. More...
#include <Ifpack_AMDReordering.h>
Public Member Functions | |
Ifpack_AMDReordering () | |
Constructor for Ifpack_Graph's. | |
Ifpack_AMDReordering (const Ifpack_AMDReordering &RHS) | |
Copy Constructor. | |
Ifpack_AMDReordering & | operator= (const Ifpack_AMDReordering &RHS) |
Assignment operator. | |
virtual | ~Ifpack_AMDReordering () |
Destructor. | |
int | SetParameter (const std::string Name, const int Value) |
Sets integer parameters ‘Name’. | |
int | SetParameter (const std::string Name, const double Value) |
Sets double parameters ‘Name’. | |
int | SetParameters (Teuchos::ParameterList &List) |
Sets all parameters. | |
int | Compute (const Ifpack_Graph &Graph) |
Computes all it is necessary to initialize the reordering object. | |
int | Compute (const Epetra_RowMatrix &Matrix) |
Computes all it is necessary to initialize the reordering object. | |
bool | IsComputed () const |
Returns true is the reordering object has been successfully initialized, false otherwise. | |
int | Reorder (const int i) const |
Returns the reordered index of row i . | |
int | InvReorder (const int i) const |
Returns the inverse reordered index of row i . | |
int | P (const Epetra_MultiVector &Xorig, Epetra_MultiVector &Xreord) const |
Applies reordering to multivector X, whose local length equals the number of local rows. | |
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. | |
std::ostream & | Print (std::ostream &os) const |
Prints basic information on iostream. This function is used by operator<<. | |
int | NumMyRows () const |
Returns the number of local rows. | |
![]() | |
virtual | ~Ifpack_Reordering () |
Destructor. | |
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 57 of file Ifpack_AMDReordering.cpp.
Ifpack_AMDReordering::Ifpack_AMDReordering | ( | const Ifpack_AMDReordering & | RHS | ) |
|
inlinevirtual |
Destructor.
Definition at line 72 of file Ifpack_AMDReordering.h.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 122 of file Ifpack_AMDReordering.cpp.
References Compute().
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 132 of file Ifpack_AMDReordering.cpp.
Referenced by Compute().
|
virtual |
Returns the inverse reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 213 of file Ifpack_AMDReordering.cpp.
References IsComputed().
|
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.
Referenced by InvReorder(), operator=(), Print(), and Reorder().
|
inline |
Returns the number of local rows.
Definition at line 114 of file Ifpack_AMDReordering.h.
Referenced by Ifpack_AMDReordering(), and operator=().
Ifpack_AMDReordering & Ifpack_AMDReordering::operator= | ( | const Ifpack_AMDReordering & | RHS | ) |
Assignment operator.
Definition at line 79 of file Ifpack_AMDReordering.cpp.
References IsComputed(), and NumMyRows().
|
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.
References Epetra_MultiVector::NumVectors().
|
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.
References Epetra_MultiVector::NumVectors().
|
virtual |
Prints basic information on iostream. This function is used by operator<<.
Implements Ifpack_Reordering.
Definition at line 257 of file Ifpack_AMDReordering.cpp.
References IsComputed().
|
virtual |
Returns the reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 200 of file Ifpack_AMDReordering.cpp.
References IsComputed().
|
virtual |
Sets double parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 108 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets integer parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 101 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets all parameters.
Implements Ifpack_Reordering.
Definition at line 115 of file Ifpack_AMDReordering.cpp.