Information about the list of shared/ghost entities for a given rank for a synchronization. More...
#include <arcane/impl/DataSynchronizeInfo.h>
Public Member Functions | |
| VariableSyncInfo (Int32ConstArrayView share_ids, Int32ConstArrayView ghost_ids, Int32 rank) | |
| VariableSyncInfo (const VariableSyncInfo &rhs) | |
| Int32 | targetRank () const |
| Target processor rank. | |
| ConstArrayView< Int32 > | shareIds () const |
| localIds() of entities to send to rank targetRank() | |
| ConstArrayView< Int32 > | ghostIds () const |
| localIds() of entities to receive from rank targetRank() | |
| Int32 | nbShare () const |
| Number of shared entities. | |
| Int32 | nbGhost () const |
| Number of ghost entities. | |
| void | changeLocalIds (Int32ConstArrayView old_to_new_ids) |
| Updates the information when the localId() of entities changes. | |
Private Member Functions | |
| void | _changeIds (Array< Int32 > &ids, Int32ConstArrayView old_to_new_ids) |
Private Attributes | |
| UniqueArray< Int32 > | m_share_ids |
| localIds() of entities to send to processor #m_rank | |
| UniqueArray< Int32 > | m_ghost_ids |
| localIds() of entities to receive from processor #m_rank | |
| Int32 | m_target_rank = A_NULL_RANK |
| Target processor rank. | |
Information about the list of shared/ghost entities for a given rank for a synchronization.
TODO: Use a single array for all VariableSyncInfo for shared entities and a single array for ghost entities, which will be managed by ItemGroupSynchronizeInfo.
Definition at line 73 of file DataSynchronizeInfo.h.
| Arcane::VariableSyncInfo::VariableSyncInfo | ( | Int32ConstArrayView | share_ids, |
| Int32ConstArrayView | ghost_ids, | ||
| Int32 | rank ) |
Definition at line 63 of file DataSynchronizeInfo.cc.
| Arcane::VariableSyncInfo::VariableSyncInfo | ( | const VariableSyncInfo & | rhs | ) |
Definition at line 76 of file DataSynchronizeInfo.cc.
| Arcane::VariableSyncInfo::VariableSyncInfo | ( | ) |
Definition at line 53 of file DataSynchronizeInfo.cc.
|
private |
Definition at line 90 of file DataSynchronizeInfo.cc.
| void Arcane::VariableSyncInfo::changeLocalIds | ( | Int32ConstArrayView | old_to_new_ids | ) |
Updates the information when the localId() of entities changes.
Definition at line 107 of file DataSynchronizeInfo.cc.
References m_ghost_ids, and m_share_ids.
|
inline |
localIds() of entities to receive from rank targetRank()
Definition at line 89 of file DataSynchronizeInfo.h.
References m_ghost_ids.
Referenced by Arcane::DataSynchronizeBufferInfoList::localIds().
|
inline |
Number of ghost entities.
Definition at line 94 of file DataSynchronizeInfo.h.
References m_ghost_ids.
Referenced by Arcane::DataSynchronizeBufferInfoList::nbItem().
|
inline |
Number of shared entities.
Definition at line 92 of file DataSynchronizeInfo.h.
References m_share_ids.
Referenced by Arcane::DataSynchronizeBufferInfoList::nbItem().
|
inline |
localIds() of entities to send to rank targetRank()
Definition at line 87 of file DataSynchronizeInfo.h.
References m_share_ids.
Referenced by Arcane::DataSynchronizeBufferInfoList::localIds().
|
inline |
Target processor rank.
Definition at line 84 of file DataSynchronizeInfo.h.
References m_target_rank.
|
private |
localIds() of entities to receive from processor #m_rank
Definition at line 104 of file DataSynchronizeInfo.h.
Referenced by changeLocalIds(), ghostIds(), and nbGhost().
|
private |
localIds() of entities to send to processor #m_rank
Definition at line 102 of file DataSynchronizeInfo.h.
Referenced by changeLocalIds(), nbShare(), and shareIds().
|
private |
Target processor rank.
Definition at line 106 of file DataSynchronizeInfo.h.
Referenced by targetRank().