|
| PartitionMapping (const Teuchos::RCP< const Teuchos::Comm< int > >comm_, const Teuchos::RCP< const Zoltan2::MachineRepresentation< pcoord_t, part_t > >machine_, const Teuchos::RCP< const Adapter > input_adapter_, const Teuchos::RCP< const Zoltan2::PartitioningSolution< Adapter > >soln_, const Teuchos::RCP< const Environment > envConst_) |
| Constructor Constructor builds the map from parts to ranks. KDDKDD WILL NEED THE SOLUTION FOR INTELLIGENT MAPPING KDDKDD BUT MAY WANT TO SET PART SIZES BASED ON CAPABILITY OF A RANK. KDDKDD SO WHEN SHOULD THE MAP BE CREATED?
|
|
| PartitionMapping (const Teuchos::RCP< const Teuchos::Comm< int > >comm_, const Teuchos::RCP< const Zoltan2::MachineRepresentation< pcoord_t, part_t > >machine_, const Teuchos::RCP< const Adapter > input_adapter_, const part_t num_parts_, const part_t *result_parts, const Teuchos::RCP< const Environment > envConst_) |
|
| PartitionMapping (const Teuchos::RCP< const Teuchos::Comm< int > >comm_, const Teuchos::RCP< const Environment > envConst_) |
|
| PartitionMapping () |
|
| PartitionMapping (const Teuchos::RCP< const Environment >envConst_) |
|
| PartitionMapping (const Teuchos::RCP< const Environment > envConst_, const Teuchos::RCP< const Teuchos::Comm< int > >comm_, const Teuchos::RCP< const MachineRepresentation< pcoord_t, part_t > >machine_) |
|
virtual | ~PartitionMapping () |
|
virtual size_t | getLocalNumberOfParts () const =0 |
| Returns the number of parts to be assigned to this process.
|
|
virtual void | getPartsForProc (int procId, part_t &numParts, part_t *&parts) const =0 |
| Get the parts belonging to a process.
|
|
virtual void | getProcsForPart (part_t partId, part_t &numProcs, part_t *&procs) const =0 |
| Get the processes containing a part.
|
|
virtual | ~Algorithm () |
|
virtual int | localOrder (const RCP< LocalOrderingSolution< lno_t > > &) |
| Ordering method.
|
|
virtual int | globalOrder (const RCP< GlobalOrderingSolution< gno_t > > &) |
| Ordering method.
|
|
virtual void | color (const RCP< ColoringSolution< Adapter > > &) |
| Coloring method.
|
|
virtual void | match () |
| Matching method.
|
|
virtual void | partition (const RCP< PartitioningSolution< Adapter > > &) |
| Partitioning method.
|
|
virtual void | partitionMatrix (const RCP< MatrixPartitioningSolution< Adapter > > &) |
| Matrix Partitioning method.
|
|
virtual void | map (const RCP< MappingSolution< Adapter > > &) |
| Mapping method.
|
|
virtual bool | isPartitioningTreeBinary () const |
| return if algorithm determins tree to be binary
|
|
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
|
|
virtual std::vector< coordinateModelPartBox > & | getPartBoxesView () const |
| for partitioning methods, return bounding boxes of the
|
|
virtual part_t | pointAssign (int, scalar_t *) const |
| pointAssign method: Available only for some partitioning algorithms
|
|
virtual void | boxAssign (int, scalar_t *, scalar_t *, size_t &, part_t **) const |
| boxAssign method: Available only for some partitioning algorithms
|
|
virtual void | getCommunicationGraph (const PartitioningSolution< Adapter > *, ArrayRCP< part_t > &, ArrayRCP< part_t > &) |
| returns serial communication graph of a computed partition
|
|
virtual int | getRankForPart (part_t) |
| In mapping, returns the rank to which a part is assigned.
|
|
virtual void | getMyPartsView (part_t &, part_t *&) |
| In mapping, returns a view of parts assigned to the current rank.
|
|
template<typename Adapter>
class Zoltan2::PartitionMapping< Adapter >
PartitionMapping maps a solution or an input distribution to ranks.
Definition at line 65 of file Zoltan2_PartitionMapping.hpp.