Isorropia: Partitioning, Load Balancing and more
Public Member Functions | Private Member Functions | Private Attributes | List of all members

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]

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. More...
 
 Redistributor (Teuchos::RCP< Epetra_Map > target_map)
 This constructor sets the target map for the redistribution. More...
 
 Redistributor (Isorropia::Epetra::Partitioner *partitioner)
 This constructor calls the Isorropia::Epetra::Partitioner::partition method on the partitioner if it has not already been called. More...
 
 Redistributor (Epetra_Map *target_map)
 This constructor sets the target map for the redistribution. More...
 
virtual ~Redistributor ()
 Destructor. More...
 
void redistribute (const Epetra_SrcDistObject &src, Epetra_DistObject &target)
 Method to redistribute a Epetra_SrcDistObject into a Epetra_DistObject. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
Teuchos::RCP< Epetra_Vector > redistribute (const Epetra_Vector &input_vector)
 Method to accept a Epetra_Vector object, and return a redistributed Epetra_Vector object. More...
 
void redistribute (const Epetra_Vector &inputVector, Epetra_Vector *&outputVector)
 Method to accept a Epetra_Vector object, and return a redistributed Epetra_Vector object. More...
 
Teuchos::RCP< Epetra_MultiVector > redistribute (const Epetra_MultiVector &input_vector)
 Method to accept a Epetra_MultiVector object, and return a redistributed Epetra_MultiVector object. More...
 
void redistribute (const Epetra_MultiVector &inputVector, Epetra_MultiVector *&outputVector)
 Method to accept a Epetra_MultiVector object, and return a redistributed Epetra_MultiVector object. More...
 
void redistribute_reverse (const Epetra_Vector &input_vector, Epetra_Vector &output_vector)
 Reverse redistribute an Epetra_Vector. More...
 
void redistribute_reverse (const Epetra_MultiVector &input_vector, Epetra_MultiVector &output_vector)
 Reverse redistribute an Epetra_MultiVector. More...
 
Epetra_Import & get_importer ()
 

Private Member Functions

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

Private Attributes

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

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 Function Documentation

Epetra_Import& Isorropia::Epetra::Redistributor::get_importer ( )
inline

Member Data Documentation

Teuchos::RCP<Isorropia::Epetra::Partitioner> Isorropia::Epetra::Redistributor::partitioner_
private
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: