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 991 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 1003 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 1004 of file Zoltan2_TaskMapping.hpp.
|
inlinevirtual |
Definition at line 1009 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 1011 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 1015 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 1019 of file Zoltan2_TaskMapping.hpp.
|
inline |
Definition at line 1055 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 >.
|
protected |
Definition at line 994 of file Zoltan2_TaskMapping.hpp.
part_t Zoltan2::CommunicationModel< part_t, pcoord_t >::no_procs |
Definition at line 999 of file Zoltan2_TaskMapping.hpp.
part_t Zoltan2::CommunicationModel< part_t, pcoord_t >::no_tasks |
Definition at line 1000 of file Zoltan2_TaskMapping.hpp.