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 |
Public Types inherited from Zoltan2::Algorithm< Adapter > | |
typedef Adapter::lno_t | lno_t |
typedef Adapter::gno_t | gno_t |
typedef Adapter::scalar_t | scalar_t |
typedef Adapter::part_t | part_t |
Public Member Functions | |
AlgBlock (const RCP< const Environment > &env_, const RCP< const Comm< int > > &problemComm_, const RCP< const typename Adapter::base_adapter_t > &adapter_) | |
void | partition (const RCP< PartitioningSolution< Adapter > > &solution) |
Partitioning method. More... | |
Public Member Functions inherited from Zoltan2::Algorithm< Adapter > | |
virtual | ~Algorithm () |
virtual int | localOrder (const RCP< LocalOrderingSolution< lno_t > > &) |
Ordering method. More... | |
virtual int | globalOrder (const RCP< GlobalOrderingSolution< gno_t > > &) |
Ordering method. More... | |
virtual void | color (const RCP< ColoringSolution< Adapter > > &) |
Coloring method. More... | |
virtual void | match () |
Matching method. More... | |
virtual void | partitionMatrix (const RCP< MatrixPartitioningSolution< Adapter > > &) |
Matrix Partitioning method. More... | |
virtual void | map (const RCP< MappingSolution< Adapter > > &) |
Mapping method. More... | |
virtual bool | isPartitioningTreeBinary () const |
return if algorithm determins tree to be binary More... | |
virtual void | getPartitionTree (part_t, part_t &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &) const |
for partitioning methods, fill arrays with partition tree info More... | |
virtual std::vector < coordinateModelPartBox > & | getPartBoxesView () const |
for partitioning methods, return bounding boxes of the More... | |
virtual part_t | pointAssign (int, scalar_t *) const |
pointAssign method: Available only for some partitioning algorithms More... | |
virtual void | boxAssign (int, scalar_t *, scalar_t *, size_t &, part_t **) const |
boxAssign method: Available only for some partitioning algorithms More... | |
virtual void | getCommunicationGraph (const PartitioningSolution< Adapter > *, ArrayRCP< part_t > &, ArrayRCP< part_t > &) |
returns serial communication graph of a computed partition More... | |
virtual int | getRankForPart (part_t) |
In mapping, returns the rank to which a part is assigned. More... | |
virtual void | getMyPartsView (part_t &, part_t *&) |
In mapping, returns a view of parts assigned to the current rank. More... | |
Block partitioning method.
env | library configuration and problem parameters |
problemComm | the communicator for the problem |
adapter | adapter used to create IdentifierModel |
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 56 of file Zoltan2_AlgBlock.hpp.
typedef Adapter::lno_t Zoltan2::AlgBlock< Adapter >::lno_t |
Definition at line 65 of file Zoltan2_AlgBlock.hpp.
typedef Adapter::gno_t Zoltan2::AlgBlock< Adapter >::gno_t |
Definition at line 66 of file Zoltan2_AlgBlock.hpp.
typedef Adapter::scalar_t Zoltan2::AlgBlock< Adapter >::scalar_t |
Definition at line 67 of file Zoltan2_AlgBlock.hpp.
typedef Adapter::part_t Zoltan2::AlgBlock< Adapter >::part_t |
Definition at line 68 of file Zoltan2_AlgBlock.hpp.
|
inline |
Definition at line 71 of file Zoltan2_AlgBlock.hpp.
|
inlinevirtual |
Partitioning method.
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 80 of file Zoltan2_AlgBlock.hpp.