Ifpack Package Browser (Single Doxygen Collection)
Development
|
Ifpack_RCMReordering: reverse Cuthill-McKee reordering. More...
#include <Ifpack_RCMReordering.h>
Public Member Functions | |
Ifpack_RCMReordering () | |
Constructor for Ifpack_Graph's. More... | |
Ifpack_RCMReordering (const Ifpack_RCMReordering &RHS) | |
Copy Constructor. More... | |
Ifpack_RCMReordering & | operator= (const Ifpack_RCMReordering &RHS) |
Assignment operator. More... | |
virtual | ~Ifpack_RCMReordering () |
Destructor. More... | |
virtual int | SetParameter (const std::string Name, const int Value) |
Sets integer parameters `Name'. More... | |
virtual int | SetParameter (const std::string Name, const double Value) |
Sets double parameters `Name'. More... | |
virtual int | SetParameters (Teuchos::ParameterList &List) |
Sets all parameters. 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 &Xreord) const |
Applies reordering to multivector X, whose local length equals the number of local rows. More... | |
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. More... | |
virtual std::ostream & | Print (std::ostream &os) const |
Prints basic information on iostream. This function is used by operator<<. More... | |
virtual int | NumMyRows () const |
Returns the number of local rows. More... | |
virtual int | RootNode () const |
Returns the root node. More... | |
Public Member Functions inherited from Ifpack_Reordering | |
virtual | ~Ifpack_Reordering () |
Destructor. More... | |
Private Attributes | |
int | RootNode_ |
Defines the root node (defaulted to 0). 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_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 54 of file Ifpack_RCMReordering.cpp.
Ifpack_RCMReordering::Ifpack_RCMReordering | ( | const Ifpack_RCMReordering & | RHS | ) |
Copy Constructor.
Definition at line 63 of file Ifpack_RCMReordering.cpp.
|
inlinevirtual |
Destructor.
Definition at line 72 of file Ifpack_RCMReordering.h.
Ifpack_RCMReordering & Ifpack_RCMReordering::operator= | ( | const Ifpack_RCMReordering & | RHS | ) |
Assignment operator.
Definition at line 78 of file Ifpack_RCMReordering.cpp.
|
virtual |
Sets integer parameters `Name'.
Implements Ifpack_Reordering.
Definition at line 101 of file Ifpack_RCMReordering.cpp.
|
virtual |
Sets double parameters `Name'.
Implements Ifpack_Reordering.
Definition at line 110 of file Ifpack_RCMReordering.cpp.
|
virtual |
Sets all parameters.
Implements Ifpack_Reordering.
Definition at line 117 of file Ifpack_RCMReordering.cpp.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 134 of file Ifpack_RCMReordering.cpp.
|
virtual |
Computes all it is necessary to initialize the reordering object.
Implements Ifpack_Reordering.
Definition at line 124 of file Ifpack_RCMReordering.cpp.
|
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.
|
virtual |
Returns the reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 237 of file Ifpack_RCMReordering.cpp.
|
virtual |
Returns the inverse reordered index of row i
.
Implements Ifpack_Reordering.
Definition at line 250 of file Ifpack_RCMReordering.cpp.
|
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.
|
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.
|
virtual |
Prints basic information on iostream. This function is used by operator<<.
Implements Ifpack_Reordering.
Definition at line 294 of file Ifpack_RCMReordering.cpp.
|
inlinevirtual |
Returns the number of local rows.
Definition at line 114 of file Ifpack_RCMReordering.h.
|
inlinevirtual |
Returns the root node.
Definition at line 120 of file Ifpack_RCMReordering.h.
|
private |
Defines the root node (defaulted to 0).
Definition at line 127 of file Ifpack_RCMReordering.h.
|
private |
Number of local rows in the graph.
Definition at line 129 of file Ifpack_RCMReordering.h.
|
private |
If true
, the reordering has been successfully computed.
Definition at line 131 of file Ifpack_RCMReordering.h.
|
private |
Contains the reordering.
Definition at line 133 of file Ifpack_RCMReordering.h.
|
private |
Contains the inverse reordering.
Definition at line 135 of file Ifpack_RCMReordering.h.