Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
Zoltan2::Zoltan2_AlgMJ< Adapter > Class Template Reference

Multi Jagged coordinate partitioning algorithm. More...

#include <Zoltan2_AlgMultiJagged.hpp>

Inheritance diagram for Zoltan2::Zoltan2_AlgMJ< Adapter >:
Inheritance graph
[legend]
Collaboration diagram for Zoltan2::Zoltan2_AlgMJ< Adapter >:
Collaboration graph
[legend]

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
 

Detailed Description

template<typename Adapter>
class Zoltan2::Zoltan2_AlgMJ< Adapter >

Multi Jagged coordinate partitioning algorithm.

Definition at line 6502 of file Zoltan2_AlgMultiJagged.hpp.

Constructor & Destructor Documentation

template<typename Adapter >
Zoltan2::Zoltan2_AlgMJ< Adapter >::Zoltan2_AlgMJ ( const RCP< const Environment > &  env,
RCP< const Comm< int > > &  problemComm,
const RCP< const coordinateModel_t > &  coords 
)
inline

Definition at line 6609 of file Zoltan2_AlgMultiJagged.hpp.

template<typename Adapter >
Zoltan2::Zoltan2_AlgMJ< Adapter >::~Zoltan2_AlgMJ ( )
inline

Definition at line 6632 of file Zoltan2_AlgMultiJagged.hpp.

Member Function Documentation

template<typename Adapter >
static void Zoltan2::Zoltan2_AlgMJ< Adapter >::getValidParameters ( ParameterList &  pl)
inlinestatic

Set up validators specific to this algorithm.

Definition at line 6641 of file Zoltan2_AlgMultiJagged.hpp.

template<typename Adapter >
void Zoltan2::Zoltan2_AlgMJ< Adapter >::partition ( const RCP< PartitioningSolution< Adapter > > &  solution)
virtual

Multi Jagged coordinate partitioning algorithm.

Parameters
solutiona PartitioningSolution, on input it contains part information, on return it also contains the solution and quality metrics.
envlibrary configuration and problem parameters
problemCommthe communicator for the problem
coordsa CoordinateModel with user data
solutiona 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.

template<typename Adapter >
mj_partBoxVector_t& Zoltan2::Zoltan2_AlgMJ< Adapter >::getPartBoxesView ( ) const
inlinevirtual

for partitioning methods, return bounding boxes of the

Reimplemented from Zoltan2::Algorithm< Adapter >.

Definition at line 6703 of file Zoltan2_AlgMultiJagged.hpp.

template<typename Adapter >
Adapter::part_t Zoltan2::Zoltan2_AlgMJ< Adapter >::pointAssign ( int  dim,
adapter_scalar_t *  point 
) const

Definition at line 7415 of file Zoltan2_AlgMultiJagged.hpp.

template<typename Adapter >
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.

template<typename Adapter >
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.


The documentation for this class was generated from the following file: