|
Zoltan2
Version of the Day
|
PartitionMapping maps a solution or an input distribution to ranks. More...
#include <Zoltan2_PartitionMapping.hpp>


Public Member Functions | |
| PartitionMapping (const Teuchos::Comm< int > *comm_, const Zoltan2::MachineRepresentation< scalar_t > *machine_, const Zoltan2::Model< typename Adapter::base_adapter_t > *model_, const Zoltan2::PartitioningSolution< Adapter > *soln_, 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? More... | |
| PartitionMapping () | |
| PartitionMapping (const Environment *envConst_) | |
| PartitionMapping (const Environment *envConst_, const Teuchos::Comm< int > *comm_, const MachineRepresentation< scalar_t > *machine_) | |
| virtual | ~PartitionMapping () |
| virtual size_t | getLocalNumberOfParts () const =0 |
| Returns the number of parts to be assigned to this process. More... | |
| virtual void | getPartsForProc (int procId, partId_t &numParts, partId_t *parts) const =0 |
| Get the parts belonging to a process. More... | |
| virtual void | getProcsForPart (partId_t partId, int &numProcs, int *procs) const =0 |
| Get the processes containing a part. More... | |
Public Attributes | |
| const Teuchos::Comm< int > * | comm |
| const Zoltan2::MachineRepresentation < scalar_t > * | machine |
| const Zoltan2::Model< typename Adapter::base_adapter_t > * | model |
| const Zoltan2::PartitioningSolution < Adapter > * | soln |
| const Environment * | env |
PartitionMapping maps a solution or an input distribution to ranks.
Definition at line 66 of file Zoltan2_PartitionMapping.hpp.
|
inline |
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?
Definition at line 90 of file Zoltan2_PartitionMapping.hpp.
|
inline |
Definition at line 107 of file Zoltan2_PartitionMapping.hpp.
|
inline |
Definition at line 114 of file Zoltan2_PartitionMapping.hpp.
|
inline |
Definition at line 121 of file Zoltan2_PartitionMapping.hpp.
|
inlinevirtual |
Definition at line 133 of file Zoltan2_PartitionMapping.hpp.
|
pure virtual |
Returns the number of parts to be assigned to this process.
Implemented in Zoltan2::CoordinateTaskMapper< Adapter, procId_t >.
|
pure virtual |
Get the parts belonging to a process.
| procId | a process rank |
| numParts | on return will be set the number of parts belonging to the process. |
| parts | on return will be a pointer to the parts assigned to procId |
Implemented in Zoltan2::CoordinateTaskMapper< Adapter, procId_t >.
|
pure virtual |
Get the processes containing a part.
| partId | a part number from 0 to one less than the global number of parts. |
| numProcs | on return will be the number of procs owning partId |
| procs | on return will be prointer to the procs owning partId |
Implemented in Zoltan2::CoordinateTaskMapper< Adapter, procId_t >.
| const Teuchos::Comm<int>* Zoltan2::PartitionMapping< Adapter >::comm |
Definition at line 78 of file Zoltan2_PartitionMapping.hpp.
| const Zoltan2::MachineRepresentation<scalar_t>* Zoltan2::PartitionMapping< Adapter >::machine |
Definition at line 79 of file Zoltan2_PartitionMapping.hpp.
| const Zoltan2::Model<typename Adapter::base_adapter_t>* Zoltan2::PartitionMapping< Adapter >::model |
Definition at line 80 of file Zoltan2_PartitionMapping.hpp.
| const Zoltan2::PartitioningSolution<Adapter>* Zoltan2::PartitionMapping< Adapter >::soln |
Definition at line 81 of file Zoltan2_PartitionMapping.hpp.
| const Environment* Zoltan2::PartitionMapping< Adapter >::env |
Definition at line 82 of file Zoltan2_PartitionMapping.hpp.
1.8.5