|
Zoltan2
|
#include <Zoltan2_AlgBlock.hpp>


Public Types | |
| typedef Adapter::lno_t | lno_t |
| typedef Adapter::gno_t | gno_t |
| typedef Adapter::scalar_t | scalar_t |
| typedef Adapter::part_t | part_t |
| typedef Adapter::zgid_t | zgid_t |
Public Member Functions | |
| AlgBlock (const RCP< const Environment > &env_, const RCP< Comm< int > > &problemComm_, const RCP< const IdentifierModel< typename Adapter::base_adapter_t > > &ids_) | |
| void | partition (const RCP< PartitioningSolution< Adapter > > &solution) |
| Partitioning method. | |
| virtual int | order (const RCP< OrderingSolution< zgid_t, lno_t > > &solution) |
| Ordering method. | |
| virtual void | color (const RCP< ColoringSolution< Adapter > > &solution) |
| Coloring method. | |
| virtual void | match () |
| Coloring method. | |
| virtual part_t | pointAssign (int dim, scalar_t *point) const |
| pointAssign method: Available only for some partitioning algorithms | |
| virtual void | boxAssign (int dim, scalar_t *lower, scalar_t *upper, size_t &nParts, part_t **partsFound) const |
| boxAssign method: Available only for some partitioning algorithms | |
Block partitioning method.
| env | library configuration and problem parameters |
| problemComm | the communicator for the problem |
| ids | an Identifier model |
Preconditions: The parameters in the environment have been processed (committed). No special requirements on the identifiers.
Block partitioning uses one weight only
check for memory allocation failures
The metrics come out really bad. Is it an error in algorithm or in metrics.
Definition at line 91 of file Zoltan2_AlgBlock.hpp.
| typedef Adapter::lno_t Zoltan2::AlgBlock< Adapter >::lno_t |
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 100 of file Zoltan2_AlgBlock.hpp.
| typedef Adapter::gno_t Zoltan2::AlgBlock< Adapter >::gno_t |
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 101 of file Zoltan2_AlgBlock.hpp.
| typedef Adapter::scalar_t Zoltan2::AlgBlock< Adapter >::scalar_t |
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 102 of file Zoltan2_AlgBlock.hpp.
| typedef Adapter::part_t Zoltan2::AlgBlock< Adapter >::part_t |
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 103 of file Zoltan2_AlgBlock.hpp.
typedef Adapter::zgid_t Zoltan2::Algorithm< Adapter >::zgid_t [inherited] |
Reimplemented in Zoltan2::AlgRCM< Adapter >, Zoltan2::AlgSortedDegree< Adapter >, Zoltan2::AlgNatural< Adapter >, and Zoltan2::AlgRandom< Adapter >.
Definition at line 86 of file Zoltan2_Algorithm.hpp.
| Zoltan2::AlgBlock< Adapter >::AlgBlock | ( | const RCP< const Environment > & | env_, |
| const RCP< Comm< int > > & | problemComm_, | ||
| const RCP< const IdentifierModel< typename Adapter::base_adapter_t > > & | ids_ | ||
| ) | [inline] |
Definition at line 106 of file Zoltan2_AlgBlock.hpp.
| void Zoltan2::AlgBlock< Adapter >::partition | ( | const RCP< PartitioningSolution< Adapter > > & | solution | ) | [inline, virtual] |
Partitioning method.
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 115 of file Zoltan2_AlgBlock.hpp.
| virtual int Zoltan2::Algorithm< Adapter >::order | ( | const RCP< OrderingSolution< zgid_t, lno_t > > & | solution | ) | [inline, virtual, inherited] |
Ordering method.
Reimplemented in Zoltan2::AlgAMD< Adapter >, Zoltan2::AlgRCM< Adapter >, Zoltan2::AlgSortedDegree< Adapter >, Zoltan2::AlgNatural< Adapter >, and Zoltan2::AlgRandom< Adapter >.
Definition at line 94 of file Zoltan2_Algorithm.hpp.
| virtual void Zoltan2::Algorithm< Adapter >::color | ( | const RCP< ColoringSolution< Adapter > > & | solution | ) | [inline, virtual, inherited] |
Coloring method.
Reimplemented in Zoltan2::AlgSerialGreedy< Adapter >.
Definition at line 100 of file Zoltan2_Algorithm.hpp.
| virtual void Zoltan2::Algorithm< Adapter >::match | ( | ) | [inline, virtual, inherited] |
Coloring method.
Definition at line 106 of file Zoltan2_Algorithm.hpp.
| virtual part_t Zoltan2::Algorithm< Adapter >::pointAssign | ( | int | dim, |
| scalar_t * | point | ||
| ) | const [inline, virtual, inherited] |
pointAssign method: Available only for some partitioning algorithms
Definition at line 123 of file Zoltan2_Algorithm.hpp.
| virtual void Zoltan2::Algorithm< Adapter >::boxAssign | ( | int | dim, |
| scalar_t * | lower, | ||
| scalar_t * | upper, | ||
| size_t & | nParts, | ||
| part_t ** | partsFound | ||
| ) | const [inline, virtual, inherited] |
boxAssign method: Available only for some partitioning algorithms
Definition at line 141 of file Zoltan2_Algorithm.hpp.
1.7.6.1