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, mj_scalar_t *point) const |
void | boxAssign (int dim, mj_scalar_t *lower, mj_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... | |
![]() | |
virtual | ~Algorithm () |
virtual int | order (const RCP< OrderingSolution< lno_t, gno_t > > &solution) |
Ordering method. More... | |
virtual void | color (const RCP< ColoringSolution< Adapter > > &solution) |
Coloring method. More... | |
virtual void | match () |
Matching method. More... | |
virtual void | map (const RCP< MappingSolution< Adapter > > &solution) |
Mapping method. More... | |
virtual part_t | pointAssign (int dim, scalar_t *point) const |
pointAssign method: Available only for some partitioning algorithms More... | |
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 More... | |
virtual void | getCommunicationGraph (const PartitioningSolution< Adapter > *solution, ArrayRCP< part_t > &comXAdj, ArrayRCP< part_t > &comAdj) |
returns serial communication graph of a computed partition More... | |
virtual int | getRankForPart (part_t p) |
In mapping, returns the rank to which a part is assigned. More... | |
virtual void | getMyPartsView (part_t &numParts, part_t *&parts) |
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 | |
![]() | |
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 6273 of file Zoltan2_AlgMultiJagged.hpp.
|
inline |
Definition at line 6342 of file Zoltan2_AlgMultiJagged.hpp.
|
inline |
Definition at line 6364 of file Zoltan2_AlgMultiJagged.hpp.
|
inlinestatic |
Set up validators specific to this algorithm.
Definition at line 6373 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 6446 of file Zoltan2_AlgMultiJagged.hpp.
|
inlinevirtual |
for partitioning methods, return bounding boxes of the
Reimplemented from Zoltan2::Algorithm< Adapter >.
Definition at line 6415 of file Zoltan2_AlgMultiJagged.hpp.
Adapter::part_t Zoltan2::Zoltan2_AlgMJ< Adapter >::pointAssign | ( | int | dim, |
mj_scalar_t * | point | ||
) | const |
Definition at line 6833 of file Zoltan2_AlgMultiJagged.hpp.
void Zoltan2::Zoltan2_AlgMJ< Adapter >::boxAssign | ( | int | dim, |
mj_scalar_t * | lower, | ||
mj_scalar_t * | upper, | ||
size_t & | nPartsFound, | ||
mj_part_t ** | partsFound | ||
) | const |
Definition at line 6755 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 6918 of file Zoltan2_AlgMultiJagged.hpp.