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. | |
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. | |
virtual int | SetParameter (const std::string Name, const int Value)=0 |
Sets integer parameters ‘Name’. | |
virtual int | SetParameter (const std::string Name, const double Value)=0 |
Sets double parameters ‘Name’. | |
virtual int | SetParameters (Teuchos::ParameterList &List)=0 |
Sets all parameters. | |
virtual int | Compute (const Ifpack_Graph &Graph)=0 |
Computes all it is necessary to initialize the reordering object. | |
virtual int | Compute (const Epetra_RowMatrix &Matrix)=0 |
Computes all it is necessary to initialize the reordering object. | |
virtual bool | IsComputed () const =0 |
Returns true is the reordering object has been successfully initialized, false otherwise. | |
virtual int | Reorder (const int i) const =0 |
Returns the reordered index of row i . | |
virtual int | InvReorder (const int i) const =0 |
Returns the inverse reordered index of row i . | |
virtual int | P (const Epetra_MultiVector &Xorig, Epetra_MultiVector &X) const =0 |
Applies reordering to multivector Xorig, whose local length equals the number of local rows, stores reordered vector in X. | |
virtual int | Pinv (const Epetra_MultiVector &Xorig, Epetra_MultiVector &X) const =0 |
Applies inverse reordering to multivector Xorig, whose local length equals the number of local rows, stores inverse reordered vector in X. | |
virtual std::ostream & | Print (std::ostream &os) const =0 |
Prints basic information on iostream. This function is used by operator<<. | |
Private Attributes | |
int | NumMyRows_ |
Number of local rows in the graph. | |
bool | IsComputed_ |
If true , the reordering has been successfully computed. | |
std::vector< int > | Reorder_ |
Contains the reordering. | |
std::vector< int > | InvReorder_ |
Contains the inverse reordering. | |
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 | ) |
Copy Constructor.
Definition at line 65 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 79 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets integer parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 101 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets double parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 108 of file Ifpack_AMDReordering.cpp.
|
virtual |
Sets all parameters.
Implements Ifpack_Reordering.
Definition at line 115 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.
|
virtual |
Returns the reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 200 of file Ifpack_AMDReordering.cpp.
|
virtual |
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.