Zoltan2
|
Multi Jagged coordinate partitioning algorithm. More...
#include <Zoltan2_AlgMultiJagged.hpp>
Public Member Functions | |
Zoltan2_AlgMJ (const RCP< const Environment > &env, RCP< const Comm< int > > &problemComm, const RCP< const coordinateModel_t > &coords) | |
~Zoltan2_AlgMJ () | |
void | partition (const RCP< PartitioningSolution< Adapter > > &solution) |
Multi Jagged coordinate partitioning algorithm. More... | |
mj_partBoxVector_t & | getPartBoxesView () const |
for partitioning methods, return bounding boxes of the More... | |
mj_part_t | pointAssign (int dim, adapter_scalar_t *point) const |
void | boxAssign (int dim, adapter_scalar_t *lower, adapter_scalar_t *upper, size_t &nPartsFound, mj_part_t **partsFound) const |
void | getCommunicationGraph (const PartitioningSolution< Adapter > *solution, ArrayRCP< mj_part_t > &comXAdj, ArrayRCP< mj_part_t > &comAdj) |
returns communication graph resulting from MJ partitioning. 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 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... | |
Static Public Member Functions | |
static void | getValidParameters (ParameterList &pl) |
Set up validators specific to this algorithm. More... | |
Additional Inherited Members | |
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 |
Multi Jagged coordinate partitioning algorithm.
Definition at line 6502 of file Zoltan2_AlgMultiJagged.hpp.
|
inline |
Definition at line 6609 of file Zoltan2_AlgMultiJagged.hpp.
|
inline |
Definition at line 6632 of file Zoltan2_AlgMultiJagged.hpp.
|
inlinestatic |
Set up validators specific to this algorithm.
Definition at line 6641 of file Zoltan2_AlgMultiJagged.hpp.
|
virtual |
Multi Jagged coordinate partitioning algorithm.
solution | a PartitioningSolution, on input it contains part information, on return it also contains the solution and quality metrics. |
env | library configuration and problem parameters |
problemComm | the communicator for the problem |
coords | a CoordinateModel with user data |
solution | a PartitioningSolution, on input it contains part information, on return it also contains the solution and quality metrics. |
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 6854 of file Zoltan2_AlgMultiJagged.hpp.
|
inlinevirtual |
for partitioning methods, return bounding boxes of the
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 6703 of file Zoltan2_AlgMultiJagged.hpp.
Adapter::part_t Zoltan2::Zoltan2_AlgMJ< Adapter >::pointAssign | ( | int | dim, |
adapter_scalar_t * | point | ||
) | const |
Definition at line 7415 of file Zoltan2_AlgMultiJagged.hpp.
void Zoltan2::Zoltan2_AlgMJ< Adapter >::boxAssign | ( | int | dim, |
adapter_scalar_t * | lower, | ||
adapter_scalar_t * | upper, | ||
size_t & | nPartsFound, | ||
mj_part_t ** | partsFound | ||
) | const |
Definition at line 7337 of file Zoltan2_AlgMultiJagged.hpp.
void Zoltan2::Zoltan2_AlgMJ< Adapter >::getCommunicationGraph | ( | const PartitioningSolution< Adapter > * | solution, |
ArrayRCP< mj_part_t > & | comXAdj, | ||
ArrayRCP< mj_part_t > & | comAdj | ||
) |
returns communication graph resulting from MJ partitioning.
Definition at line 7501 of file Zoltan2_AlgMultiJagged.hpp.