Isorropia::Redistributor Class Reference

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_Redistributor.hpp>

List of all members.

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.


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.


Constructor & Destructor Documentation

Isorropia::Redistributor::Redistributor ( Teuchos::RefCountPtr< Partitioner partitioner  ) 

Constructor.

This constructor calls partitioner.compute_partitioning() if it has not already been called.


Member Function Documentation

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.


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