|
Zoltan2
|
CommunicationModel Base Class that performs mapping between the coordinate partitioning result. More...
#include <Zoltan2_TaskMapping.hpp>

Public Member Functions | |
| CommunicationModel () | |
| CommunicationModel (part_t no_procs_, part_t no_tasks_) | |
| virtual | ~CommunicationModel () |
| part_t | getNProcs () const |
| part_t | getNTasks () const |
| void | calculateCommunicationCost (part_t *task_to_proc, part_t *task_communication_xadj, part_t *task_communication_adj, pcoord_t *task_communication_edge_weight) |
| double | getCommunicationCostMetric () |
| virtual double | getProcDistance (int procId1, int procId2) const =0 |
| virtual void | getMapping (int myRank, const RCP< const Environment > &env, ArrayRCP< part_t > &proc_to_task_xadj, ArrayRCP< part_t > &proc_to_task_adj, ArrayRCP< part_t > &task_to_proc, const Teuchos::RCP< const Teuchos::Comm< int > > comm_) const =0 |
| Function is called whenever nprocs > no_task. Function returns only the subset of processors that are closest to each other. More... | |
Public Attributes | |
| part_t | no_procs |
| part_t | no_tasks |
Protected Attributes | |
| double | commCost |
CommunicationModel Base Class that performs mapping between the coordinate partitioning result.
Definition at line 935 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 947 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 948 of file Zoltan2_TaskMapping.hpp.
|
inlinevirtual |
Definition at line 953 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 955 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 959 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 963 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 999 of file Zoltan2_TaskMapping.hpp.
|
pure virtual |
|
pure virtual |
Function is called whenever nprocs > no_task. Function returns only the subset of processors that are closest to each other.
| proc_to_task_xadj | holds the pointer to the task array |
| proc_to_task_adj | holds the indices of tasks wrt to proc_to_task_xadj array. |
| task_to_proc | holds the processors mapped to tasks. |
Implemented in Zoltan2::CoordinateCommunicationModel< pcoord_t, tcoord_t, part_t, node_t >.
|
protected |
Definition at line 938 of file Zoltan2_TaskMapping.hpp.
| part_t Zoltan2::CommunicationModel< part_t, pcoord_t, node_t >::no_procs |
Definition at line 943 of file Zoltan2_TaskMapping.hpp.
| part_t Zoltan2::CommunicationModel< part_t, pcoord_t, node_t >::no_tasks |
Definition at line 944 of file Zoltan2_TaskMapping.hpp.
1.8.5