IFPACK Development
|
Ifpack_RCMReordering: reverse Cuthill-McKee reordering. More...
#include <Ifpack_RCMReordering.h>
Public Member Functions | |
Ifpack_RCMReordering () | |
Constructor for Ifpack_Graph's. | |
Ifpack_RCMReordering (const Ifpack_RCMReordering &RHS) | |
Copy Constructor. | |
Ifpack_RCMReordering & | operator= (const Ifpack_RCMReordering &RHS) |
Assignment operator. | |
virtual | ~Ifpack_RCMReordering () |
Destructor. | |
virtual int | SetParameter (const std::string Name, const int Value) |
Sets integer parameters ‘Name’. | |
virtual int | SetParameter (const std::string Name, const double Value) |
Sets double parameters ‘Name’. | |
virtual int | SetParameters (Teuchos::ParameterList &List) |
Sets all parameters. | |
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 &Xreord) const |
Applies reordering to multivector X, whose local length equals the number of local rows. | |
virtual 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. | |
virtual std::ostream & | Print (std::ostream &os) const |
Prints basic information on iostream. This function is used by operator<<. | |
virtual int | NumMyRows () const |
Returns the number of local rows. | |
virtual int | RootNode () const |
Returns the root node. | |
![]() | |
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<<. | |
Ifpack_RCMReordering: reverse Cuthill-McKee reordering.
Definition at line 58 of file Ifpack_RCMReordering.h.
Ifpack_RCMReordering::Ifpack_RCMReordering | ( | ) |
Constructor for Ifpack_Graph's.
Definition at line 53 of file Ifpack_RCMReordering.cpp.
Ifpack_RCMReordering::Ifpack_RCMReordering | ( | const Ifpack_RCMReordering & | RHS | ) |
|
inlinevirtual |
Destructor.
Definition at line 72 of file Ifpack_RCMReordering.h.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 124 of file Ifpack_RCMReordering.cpp.
References Compute().
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 134 of file Ifpack_RCMReordering.cpp.
Referenced by Compute().
|
virtual |
Returns the inverse reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 250 of file Ifpack_RCMReordering.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_RCMReordering.h.
Referenced by InvReorder(), operator=(), Print(), and Reorder().
|
inlinevirtual |
Returns the number of local rows.
Definition at line 114 of file Ifpack_RCMReordering.h.
Referenced by Ifpack_RCMReordering(), and operator=().
Ifpack_RCMReordering & Ifpack_RCMReordering::operator= | ( | const Ifpack_RCMReordering & | RHS | ) |
Assignment operator.
Definition at line 77 of file Ifpack_RCMReordering.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 262 of file Ifpack_RCMReordering.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 278 of file Ifpack_RCMReordering.cpp.
References Epetra_MultiVector::NumVectors().
|
virtual |
Prints basic information on iostream. This function is used by operator<<.
Implements Ifpack_Reordering.
Definition at line 294 of file Ifpack_RCMReordering.cpp.
References IsComputed().
|
virtual |
Returns the reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 237 of file Ifpack_RCMReordering.cpp.
References IsComputed().
|
inlinevirtual |
Returns the root node.
Definition at line 120 of file Ifpack_RCMReordering.h.
|
virtual |
Sets double parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 109 of file Ifpack_RCMReordering.cpp.
|
virtual |
Sets integer parameters ‘Name’.
Implements Ifpack_Reordering.
Definition at line 100 of file Ifpack_RCMReordering.cpp.
|
virtual |
Sets all parameters.
Implements Ifpack_Reordering.
Definition at line 116 of file Ifpack_RCMReordering.cpp.