#include <Isorropia_EpetraPartitioner.hpp>
Inheritance diagram for Isorropia::Epetra::Partitioner:
Public Member Functions | |
| Partitioner (Teuchos::RefCountPtr< const Epetra_CrsGraph > input_graph, const Teuchos::ParameterList ¶mlist, bool compute_partitioning_now=true) | |
| Constructor that accepts an Epetra_CrsGraph object. | |
| Partitioner (Teuchos::RefCountPtr< const Epetra_CrsGraph > input_graph, Teuchos::RefCountPtr< const Isorropia::CostDescriber > costs, const Teuchos::ParameterList ¶mlist, bool compute_partitioning_now=true) | |
| Constructor that accepts an Epetra_CrsGraph object and a CostDescriber. | |
| Partitioner (Teuchos::RefCountPtr< const Epetra_RowMatrix > input_matrix, const Teuchos::ParameterList ¶mlist, bool compute_partitioning_now=true) | |
| Constructor that accepts an Epetra_RowMatrix object. | |
| Partitioner (Teuchos::RefCountPtr< const Epetra_RowMatrix > input_matrix, Teuchos::RefCountPtr< const Isorropia::CostDescriber > costs, const Teuchos::ParameterList ¶mlist, bool compute_partitioning_now=true) | |
| Constructor that accepts an Epetra_RowMatrix object and a CostDescriber. | |
| virtual | ~Partitioner () |
| Destructor. | |
| void | setParameters (const Teuchos::ParameterList ¶mlist) |
| Set parameters from a Teuchos::ParameterList object. | |
| void | compute_partitioning (bool force_repartitioning=false) |
| Compute a rebalanced partitioning for the data in the object that this class was constructed with. | |
| bool | partitioning_already_computed () const |
| Query whether the method compute_partitioning() has already been called on this class instance. | |
| int | newPartitionNumber (int myElem) const |
| Return the new partition ID for a given element that resided locally in the old partitioning. | |
| int | numElemsInPartition (int partition) const |
| Return the number of elements in a given partition. | |
| void | elemsInPartition (int partition, int *elementList, int len) const |
| Fill user-allocated list (of length len) with the global element ids to be located in the given partition. | |
|
||||||||||||||||
|
Constructor that accepts an Epetra_CrsGraph object.
|
|
||||||||||||||||||||
|
Constructor that accepts an Epetra_CrsGraph object and a CostDescriber.
|
|
||||||||||||||||
|
Constructor that accepts an Epetra_RowMatrix object.
|
|
||||||||||||||||||||
|
Constructor that accepts an Epetra_RowMatrix object and a CostDescriber.
|
|
|
Set parameters from a Teuchos::ParameterList object.
The input ParameterList object is copied into an internal ParameterList attribute, and no reference to the input object is held after this function returns. (Thus, the input paramlist object may be altered or destroyed as soon as this method returns.) Implements Isorropia::Partitioner. |
|
|
Compute a rebalanced partitioning for the data in the object that this class was constructed with.
Implements Isorropia::Partitioner. |
|
|
Return the number of elements in a given partition. (Currently only implemented for the case where 'partition' is local.) Implements Isorropia::Partitioner. |
|
||||||||||||||||
|
Fill user-allocated list (of length len) with the global element ids to be located in the given partition. (Currently only implemented for the case where 'partition' is local.) Implements Isorropia::Partitioner. |