#include <Isorropia_Redistributor.hpp>
Public Member Functions | |
| Redistributor (Teuchos::RefCountPtr< Partitioner > partitioner) | |
| Constructor. | |
| virtual | ~Redistributor () |
| Destructor. | |
| void | redistribute (const Epetra_SrcDistObject &src, Epetra_DistObject &target) |
| Method to redistribute a Epetra_SrcDistObject into a Epetra_DistObject. | |
| Teuchos::RefCountPtr< Epetra_CrsGraph > | redistribute (const Epetra_CrsGraph &input_graph) |
| Method to accept a Epetra_CrsGraph object, and return a redistributed Epetra_CrsGraph object. | |
| Teuchos::RefCountPtr< Epetra_CrsMatrix > | redistribute (const Epetra_CrsMatrix &input_matrix) |
| Method to accept a Epetra_CrsMatrix object, and return a redistributed Epetra_CrsMatrix object. | |
| Teuchos::RefCountPtr< Epetra_CrsMatrix > | redistribute (const Epetra_RowMatrix &input_matrix) |
| Method to accept a Epetra_RowMatrix object, and return a redistributed Epetra_CrsMatrix object. | |
| Teuchos::RefCountPtr< Epetra_MultiVector > | redistribute (const Epetra_MultiVector &input_vector) |
| Method to accept a Epetra_MultiVector object, and return a redistributed Epetra_MultiVector object. | |
| Isorropia::Redistributor::Redistributor | ( | Teuchos::RefCountPtr< Partitioner > | partitioner | ) |
Constructor.
This constructor calls partitioner.compute_partitioning() if it has not already been called.
| void Isorropia::Redistributor::redistribute | ( | const Epetra_SrcDistObject & | src, | |
| Epetra_DistObject & | target | |||
| ) |
Method to redistribute a Epetra_SrcDistObject into a Epetra_DistObject.
The caller is required to have constructed the target object using the correct target map.
| Teuchos::RefCountPtr<Epetra_CrsGraph> Isorropia::Redistributor::redistribute | ( | const Epetra_CrsGraph & | input_graph | ) |
Method to accept a Epetra_CrsGraph object, and return a redistributed Epetra_CrsGraph object.
Note that the 'input_graph' argument may be a different object than the one which was used to construct the partitioner.
| Teuchos::RefCountPtr<Epetra_CrsMatrix> Isorropia::Redistributor::redistribute | ( | const Epetra_CrsMatrix & | input_matrix | ) |
Method to accept a Epetra_CrsMatrix object, and return a redistributed Epetra_CrsMatrix object.
Note that the 'input_matrix' argument may be a different object than the one which was used to construct the partitioner.