CommunicationModel Base Class that performs mapping between the coordinate partitioning result.
More...
#include <Zoltan2_TaskMapping.hpp>
|
| | 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...
|
| |
template<typename part_t, typename pcoord_t, typename node_t>
class Zoltan2::CommunicationModel< part_t, pcoord_t, node_t >
CommunicationModel Base Class that performs mapping between the coordinate partitioning result.
Definition at line 927 of file Zoltan2_TaskMapping.hpp.
◆ CommunicationModel() [1/2]
template<typename part_t , typename pcoord_t , typename node_t >
◆ CommunicationModel() [2/2]
template<typename part_t , typename pcoord_t , typename node_t >
◆ ~CommunicationModel()
template<typename part_t , typename pcoord_t , typename node_t >
◆ getNProcs()
template<typename part_t , typename pcoord_t , typename node_t >
◆ getNTasks()
template<typename part_t , typename pcoord_t , typename node_t >
◆ calculateCommunicationCost()
template<typename part_t , typename pcoord_t , typename node_t >
◆ getCommunicationCostMetric()
template<typename part_t , typename pcoord_t , typename node_t >
◆ getProcDistance()
template<typename part_t , typename pcoord_t , typename node_t >
◆ getMapping()
template<typename part_t , typename pcoord_t , typename node_t >
Function is called whenever nprocs > no_task. Function returns only the subset of processors that are closest to each other.
- Parameters
-
| 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 >.
◆ commCost
template<typename part_t , typename pcoord_t , typename node_t >
◆ no_procs
template<typename part_t , typename pcoord_t , typename node_t >
◆ no_tasks
template<typename part_t , typename pcoord_t , typename node_t >
The documentation for this class was generated from the following file: