Redistribute graph data to another "communicator". More...
#include <arcane/std/GraphDistributor.h>
Public Member Functions | |
| GraphDistributor (IParallelMng *pm) | |
| void | initWithOneRankPerNode (bool allow_only_one_rank) |
| Automatic distribution : one partitioning process per node. | |
| void | initWithMaxRank (Int32 targetSize) |
| Int32 | size () const |
| bool | contribute () const |
| template<typename DataT> | |
| SharedArray< DataT > | convert (ConstArrayView< DataT > in, Array< DataT > *pattern=nullptr, bool is_indirection=false) const |
| template<typename DataT> | |
| SharedArray< DataT > | convertBack (ConstArrayView< DataT > in, Int32 nRecv) const |
| IParallelMng * | subParallelMng () const |
| MPI_Comm | getCommunicator () const |
| IParallelMng * | parallelManager () const |
Private Attributes | |
| IParallelMng * | m_pm_ini = nullptr |
| Ref< IParallelMng > | m_pm_sub |
| Int32 | m_targetSize = -1 |
| Int32 | m_targetRank = -1 |
| bool | m_skip = false |
| bool | m_contribute = false |
| bool | m_is_init = false |
Redistribute graph data to another "communicator".
\abstract By redistributing graph data, we can use smaller communicators to compute partitioning, which is better for efficiency.
The class must be initialized by calling either initWithOneRankPerNode() or initWithMaxRank().
Definition at line 43 of file GraphDistributor.h.
|
inline |
Definition at line 47 of file GraphDistributor.h.
|
inline |
Definition at line 133 of file GraphDistributor.h.
|
inline |
Definition at line 137 of file GraphDistributor.h.
|
inline |
Definition at line 223 of file GraphDistributor.h.
|
inline |
Definition at line 276 of file GraphDistributor.h.
|
inline |
Definition at line 97 of file GraphDistributor.h.
|
inline |
Automatic distribution : one partitioning process per node.
Definition at line 57 of file GraphDistributor.h.
References Arcane::ParallelMngUtils::createTopologyRef(), and Arcane::ConstArrayView< T >::size().
Referenced by Arcane::MetisMeshPartitioner::_partitionMesh().
|
inline |
Definition at line 285 of file GraphDistributor.h.
|
inline |
Definition at line 131 of file GraphDistributor.h.
|
inline |
Definition at line 265 of file GraphDistributor.h.
|
private |
Definition at line 297 of file GraphDistributor.h.
|
private |
Definition at line 298 of file GraphDistributor.h.
|
private |
Definition at line 292 of file GraphDistributor.h.
|
private |
Definition at line 293 of file GraphDistributor.h.
|
private |
Definition at line 296 of file GraphDistributor.h.
|
private |
Definition at line 295 of file GraphDistributor.h.
|
private |
Definition at line 294 of file GraphDistributor.h.