Isorropia: Partitioning, Load Balancing and more Version 3.0
Public Member Functions | Private Member Functions | Private Attributes

Class which is constructed with a Partitioner instance, and provides several methods for redistributing Epetra objects given the partitioning computed by the Partitioner object. More...

#include <Isorropia_EpetraRedistributor.hpp>

Inheritance diagram for Isorropia::Epetra::Redistributor:
Inheritance graph
[legend]
Collaboration diagram for Isorropia::Epetra::Redistributor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Redistributor (Teuchos::RCP< Isorropia::Epetra::Partitioner > partitioner)
 This constructor calls the Isorropia::Epetra::Partitioner::partition method on the partitioner if it has not already been called.
 Redistributor (Isorropia::Epetra::Partitioner *partitioner)
 This constructor calls the Isorropia::Epetra::Partitioner::partition method on the partitioner if it has not already been called.
virtual ~Redistributor ()
 Destructor.
void redistribute (const Epetra_SrcDistObject &src, Epetra_DistObject &target)
 Method to redistribute a Epetra_SrcDistObject into a Epetra_DistObject.
Teuchos::RCP< Epetra_CrsGraph > redistribute (const Epetra_CrsGraph &input_graph, bool callFillComplete=true)
 Method to accept a Epetra_CrsGraph object, and return a redistributed Epetra_CrsGraph object.
void redistribute (const Epetra_CrsGraph &input_graph, Epetra_CrsGraph *&outputGraphPtr, bool callFillComplete=true)
 Method to accept a Epetra_CrsGraph object, and return a redistributed Epetra_CrsGraph object.
Teuchos::RCP< Epetra_CrsMatrix > redistribute (const Epetra_CrsMatrix &input_matrix, bool callFillComplete=true)
 Method to accept a Epetra_CrsMatrix object, and return a redistributed Epetra_CrsMatrix object.
void redistribute (const Epetra_CrsMatrix &inputMatrix, Epetra_CrsMatrix *&outputMatrix, bool callFillComplete=true)
 Method to accept a Epetra_CrsMatrix object, and return a redistributed Epetra_CrsMatrix object.
Teuchos::RCP< Epetra_CrsMatrix > redistribute (const Epetra_RowMatrix &input_matrix, bool callFillComplete=true)
 Method to accept a Epetra_RowMatrix object, and return a redistributed Epetra_CrsMatrix object.
void redistribute (const Epetra_RowMatrix &inputMatrix, Epetra_CrsMatrix *&outputMatrix, bool callFillComplete=true)
 Method to accept a Epetra_RowMatrix object, and return a redistributed Epetra_CrsMatrix object.
Teuchos::RCP< Epetra_Vector > redistribute (const Epetra_Vector &input_vector)
 Method to accept a Epetra_Vector object, and return a redistributed Epetra_Vector object.
void redistribute (const Epetra_Vector &inputVector, Epetra_Vector *&outputVector)
 Method to accept a Epetra_Vector object, and return a redistributed Epetra_Vector object.
Teuchos::RCP< Epetra_MultiVector > redistribute (const Epetra_MultiVector &input_vector)
 Method to accept a Epetra_MultiVector object, and return a redistributed Epetra_MultiVector object.
void redistribute (const Epetra_MultiVector &inputVector, Epetra_MultiVector *&outputVector)
 Method to accept a Epetra_MultiVector object, and return a redistributed Epetra_MultiVector object.
void redistribute_reverse (const Epetra_Vector &input_vector, Epetra_Vector &output_vector)
 Reverse redistribute an Epetra_Vector.
void redistribute_reverse (const Epetra_MultiVector &input_vector, Epetra_MultiVector &output_vector)
 Reverse redistribute an Epetra_MultiVector.

Private Member Functions

void create_importer (const Epetra_BlockMap &src_map)
 Create an importer object to be used in the redistribution.

Private Attributes

Teuchos::RCP
< Isorropia::Epetra::Partitioner
partitioner_
Teuchos::RCP< Epetra_Import > importer_
Teuchos::RCP< Epetra_Map > target_map_
bool created_importer_

Detailed Description

Class which is constructed with a Partitioner instance, and provides several methods for redistributing Epetra objects given the partitioning computed by the Partitioner object.

Examples:

geometric/example_rcb.cpp, graphedge_weights.cpp, hgedge_weights.cpp, part_redist.cpp, and vert_weights.cpp.


Constructor & Destructor Documentation

virtual Isorropia::Epetra::Redistributor::~Redistributor ( ) [virtual]

Destructor.

Reimplemented from Isorropia::Redistributor.


Member Data Documentation

Teuchos::RCP<Epetra_Import> Isorropia::Epetra::Redistributor::importer_ [private]
Teuchos::RCP<Epetra_Map> Isorropia::Epetra::Redistributor::target_map_ [private]

The documentation for this class was generated from the following file: