|
Zoltan2
|
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? | |
| 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. | |
| 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. | |
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 64 of file Zoltan2_PartitionMapping.hpp.
| Zoltan2::PartitionMapping< Adapter >::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_ | ||
| ) | [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 89 of file Zoltan2_PartitionMapping.hpp.
| Zoltan2::PartitionMapping< Adapter >::PartitionMapping | ( | ) | [inline] |
Definition at line 106 of file Zoltan2_PartitionMapping.hpp.
| Zoltan2::PartitionMapping< Adapter >::PartitionMapping | ( | const Environment * | envConst_ | ) | [inline] |
Definition at line 113 of file Zoltan2_PartitionMapping.hpp.
| Zoltan2::PartitionMapping< Adapter >::PartitionMapping | ( | const Environment * | envConst_, |
| const Teuchos::Comm< int > * | comm_, | ||
| const MachineRepresentation< scalar_t > * | machine_ | ||
| ) | [inline] |
Definition at line 120 of file Zoltan2_PartitionMapping.hpp.
| virtual Zoltan2::PartitionMapping< Adapter >::~PartitionMapping | ( | ) | [inline, virtual] |
Definition at line 132 of file Zoltan2_PartitionMapping.hpp.
| virtual size_t Zoltan2::PartitionMapping< Adapter >::getLocalNumberOfParts | ( | ) | const [pure virtual] |
Returns the number of parts to be assigned to this process.
Implemented in Zoltan2::CoordinateTaskMapper< Adapter, part_t >.
| virtual void Zoltan2::PartitionMapping< Adapter >::getPartsForProc | ( | int | procId, |
| part_t & | numParts, | ||
| part_t * | parts | ||
| ) | const [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, part_t >.
| virtual void Zoltan2::PartitionMapping< Adapter >::getProcsForPart | ( | part_t | partId, |
| part_t & | numProcs, | ||
| part_t * | procs | ||
| ) | const [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, part_t >.
| const Teuchos::Comm<int>* Zoltan2::PartitionMapping< Adapter >::comm |
Definition at line 77 of file Zoltan2_PartitionMapping.hpp.
| const Zoltan2::MachineRepresentation<scalar_t>* Zoltan2::PartitionMapping< Adapter >::machine |
Definition at line 78 of file Zoltan2_PartitionMapping.hpp.
| const Zoltan2::Model<typename Adapter::base_adapter_t>* Zoltan2::PartitionMapping< Adapter >::model |
Definition at line 79 of file Zoltan2_PartitionMapping.hpp.
| const Zoltan2::PartitioningSolution<Adapter>* Zoltan2::PartitionMapping< Adapter >::soln |
Definition at line 80 of file Zoltan2_PartitionMapping.hpp.
| const Environment* Zoltan2::PartitionMapping< Adapter >::env |
Definition at line 81 of file Zoltan2_PartitionMapping.hpp.
1.7.6.1