#include <Isorropia_Partitioner.hpp>
Inheritance diagram for Isorropia::Partitioner:


Public Member Functions | |
| virtual | ~Partitioner () |
| Destructor. | |
| virtual void | partition (bool forceRepartitioning=false)=0 |
| Method which does the work of computing a new partitioning. | |
| virtual int | numElemsInPart (int part) const =0 |
| Return the number of LOCAL elements in a given part. | |
| virtual void | elemsInPart (int part, int *elementList, int len) const =0 |
| Fill user-allocated list (of length len) with the local element ids to be located in the given part. | |
| virtual void | setParameters (const Teuchos::ParameterList ¶mlist)=0 |
| Set parameters for the Operator instance. | |
| virtual void | compute (bool forceRecomputing=false)=0 |
| Method which does the work of computing a new partitioning/coloring/ordering, depending on the child class used. | |
Accessors | |
| virtual bool | alreadyComputed () const =0 |
| Query whether the computation has already been called. | |
| virtual int | numProperties () const =0 |
| Return the number of different values used for "properties". | |
| virtual const int & | operator[] (int myElem) const =0 |
| Return the "property" for a given element that resided locally. | |
| virtual int | numElemsWithProperty (int property) const =0 |
| Return the number of LOCAL elements with the given property. | |
| virtual void | elemsWithProperty (int property, int *elementList, int len) const =0 |
| Fill user-allocated list (of length len) with the local element ids of the LOCAL elements with the given property. | |
Usage not recommanded | |
| virtual int | newPartNumber (int myElem) const =0 |
| Return the new part ID for a given element that resided locally in the old partitioning. | |
Deprecated methods | |
| virtual __deprecated void | compute_partitioning (bool forceRepartitioning=false) |
| The deprecated way to compute partitioning. | |
| virtual __deprecated bool | partitioning_already_computed () const =0 |
| Query whether a partitioning as already been successfully computed. | |
| virtual __deprecated int | newPartitionNumber (int myElem) |
| Return the new partition ID for a given element that resided locally in the old partitioning. | |
| virtual __deprecated int | numElemsInPartition (int partition) |
| Return the number of LOCAL elements in a given partition. | |
| virtual __deprecated void | elemsInPartition (int part, int *elementList, int len) |
| Fill user-allocated list (of length len) with the local element ids to be located in the given partition. | |
Accessors | |
| virtual bool | alreadyComputed () const =0 |
| Query whether the computation has already been called. | |
| virtual int | numProperties () const =0 |
| Return the number of different values used for "properties". | |
| virtual const int & | operator[] (int myElem) const =0 |
| Return the "property" for a given element that resided locally. | |
| virtual int | numElemsWithProperty (int property) const =0 |
| Return the number of LOCAL elements with the given property. | |
| virtual void | elemsWithProperty (int property, int *elementList, int len) const =0 |
| Fill user-allocated list (of length len) with the local element ids of the LOCAL elements with the given property. | |
If the methods which describe the new partitioning (e.g., operator [], elemsInPart()) are called before compute_partitioning() has been called, behavior is not well defined. Implementations will either return empty/erroneous data, or throw an exception. In most cases, implementations will probably call compute_partitioning() internally in a constructor or factory method, so this won't usually be an issue.
|
|
Destructor.
Reimplemented in Isorropia::Epetra::Partitioner. |
|
|
Method which does the work of computing a new partitioning. Implementations of this interface will typically be constructed with an object or information describing the existing ('old') partitioning. This method computes a 'new' rebalanced partitioning for that input data.
Implemented in Isorropia::Epetra::Partitioner, Isorropia::Epetra::Partitioner2D, and Isorropia::Partitioner2D. |
|
|
Return the new part ID for a given element that resided locally in the old partitioning.
Implemented in Isorropia::Epetra::Partitioner. |
|
|
Return the number of LOCAL elements in a given part.
Implemented in Isorropia::Epetra::Partitioner. |
|
||||||||||||||||
|
Fill user-allocated list (of length len) with the local element ids to be located in the given part.
Implemented in Isorropia::Epetra::Partitioner. |
|
|
The deprecated way to compute partitioning.
|
|
|
Query whether a partitioning as already been successfully computed.
Implemented in Isorropia::Epetra::Partitioner, and Isorropia::Partitioner2D. |
|
|
Return the new partition ID for a given element that resided locally in the old partitioning.
|
|
|
Return the number of LOCAL elements in a given partition.
|
|
||||||||||||||||
|
Fill user-allocated list (of length len) with the local element ids to be located in the given partition.
|
|
|
Set parameters for the Operator instance. The contents of the input paramlist object are copied into an internal ParameterList attribute. Instances of this interface should not retain a reference to the input ParameterList after this method returns.
Implemented in Isorropia::Epetra::Operator. |
|
|
Method which does the work of computing a new partitioning/coloring/ordering, depending on the child class used.
Implemented in Isorropia::Epetra::Colorer, Isorropia::Epetra::Operator, Isorropia::Epetra::Orderer, Isorropia::Epetra::Partitioner, and Isorropia::Epetra::Partitioner2D. |
|
|
Query whether the computation has already been called.
Implemented in Isorropia::Epetra::Operator. |
|
|
Return the number of different values used for "properties". For example, the number of colors or the number of parts used for the overall graph/matrix.
Implemented in Isorropia::Epetra::Operator. |
|
|
Return the "property" for a given element that resided locally.
Implemented in Isorropia::Epetra::Operator. |
|
|
Return the number of LOCAL elements with the given property.
Implemented in Isorropia::Epetra::Operator. |
|
||||||||||||||||
|
Fill user-allocated list (of length len) with the local element ids of the LOCAL elements with the given property.
Implemented in Isorropia::Epetra::Operator. |